Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rcmedeiros/prototypes
Common generic prototypes for Nodejs
https://github.com/rcmedeiros/prototypes
javascript library owasp owasp-top-10 productivity-booster prototypes prototypes-helpers typescript
Last synced: 6 days ago
JSON representation
Common generic prototypes for Nodejs
- Host: GitHub
- URL: https://github.com/rcmedeiros/prototypes
- Owner: rcmedeiros
- License: agpl-3.0
- Created: 2019-05-11T09:31:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T16:58:07.000Z (almost 2 years ago)
- Last Synced: 2024-12-19T05:14:15.349Z (18 days ago)
- Topics: javascript, library, owasp, owasp-top-10, productivity-booster, prototypes, prototypes-helpers, typescript
- Language: JavaScript
- Homepage: https://rcmedeiros.github.io/prototypes
- Size: 890 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @rcmedeiros/prototypes
![CircleCI branch](https://img.shields.io/circleci/project/github/rcmedeiros/prototypes/master.svg)
[![codecov](https://codecov.io/gh/rcmedeiros/prototypes/branch/master/graph/badge.svg)](https://codecov.io/gh/rcmedeiros/prototypes)
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=prototypes&metric=code_smells)](https://sonarcloud.io/dashboard?id=prototypes)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=prototypes&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=prototypes)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=prototypes&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=prototypes)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=prototypes&metric=security_rating)](https://sonarcloud.io/dashboard?id=prototypes)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=prototypes&metric=alert_status)](https://sonarcloud.io/dashboard?id=prototypes)General purpose JavaScript prototypes library.
Use it if you...
* Must comply with [OWASP](https://www.owasp.org/index.php/Top_10-2017_Top_10) or [SANS](https://www.sans.org/top25-software-errors) 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)](https://img.shields.io/bundlephobia/min/@rcmedeiros/prototypes.svg) from the source code.
The module comes with its [Declaration File](https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html), 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.
```typescript
import '@rcmedeiros/prototypes';
```## Reference
For detailed documentation, visit