@rcmedeiros/prototypes
General purpose JavaScript prototypes library.
Use it if you…
- Must comply with OWASP or SANS and would avoid using any method which accept regular expressions as argument;
- Customize dates representation but not that much to justify a heavy specialized package;
- Do lots of
Math
functions; - ‘re just lazy :)
This package comes with no dependencies whatsoever. You’ll only add the from the source code.
Note
The module comes with its Declaration File, meaning it can be imported seamlessly to a TypeScript project.
Install
npm install --save @rcmedeiros/prototypes
Usage
Just import it in the first module your package loads, maybe index.js/ts. No need to keep reference.
TypeScript typings are included.
import '@rcmedeiros/prototypes';