@rcmedeiros/prototypes

Yet another general purpose JavaScript prototypes library

Usage no npm install needed!

<script type="module">
  import rcmedeirosPrototypes from 'https://cdn.skypack.dev/@rcmedeiros/prototypes';
</script>

README

@rcmedeiros/prototypes

CircleCI branch codecov Code Smells Maintainability Rating Reliability Rating Security Rating Quality Gate Status

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 npm bundle size (scoped) from the source code.

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

Reference

For detailed documentation, visit https://rcmedeiros.github.io/prototypes/