get-methods
v0.0.3
Published
simple methods and properties lister of things
Downloads
3
Maintainers
Readme
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' ]