0.0.3 • Published 6 years ago

get-methods v0.0.3

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

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' ]