Skip to content

suyesh/get-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This was created to test creating npm packages. You can use it anyways :)

Usage

import { methods, properties } from 'get-methods'

console.log(methods('string'));
console.log(properties('string'));

[ 'length',
'constructor',
'anchor',
'big',
'blink',
'bold',
'charAt',
'charCodeAt',
'codePointAt',
'concat',
'endsWith',
'fontcolor',
'fontsize',
'fixed',
'includes',
'indexOf',
'italics',
'lastIndexOf',
'link',
'localeCompare',
'match',
'normalize',
'padEnd',
'padStart',
'repeat',
'replace',
'search',
'slice',
'small',
'split',
'strike',
'sub',
'substr',
'substring',
'sup',
'startsWith',
'toString',
'trim',
'trimLeft',
'trimRight',
'toLowerCase',
'toUpperCase',
'valueOf',
'toLocaleLowerCase',
'toLocaleUpperCase',
'trimStart',
'trimEnd' ][ '0', '1', '2', '3', '4', '5', 'length' ]

Releases

No releases published

Packages

No packages published