Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prototyped.js

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prototyped.js

Common typescript ready prototypes available in both es5 and es6

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.7K
increased by179.26%
Maintainers
1
Weekly downloads
 
Created
Source

Prototyped.js Tweet

Common Typescript ready helpers & prototypes available for both Server-Side and Client-Side applications.

Npm Version Build Status Coverage Status TypeScript Version Tested With Jest Npm Total Downloads Npm Monthly Downloads npm bundle size (minified) npm bundle size (minified + gzip) Open Issues License Github Stars Github Forks

More than 100 useful methods collected in one place

if you have a method you think needs to be a part of this package, feel free to contribute

Table of Content

Installation

npm i -s prototyped.js

Usage

import all prototypes

// es6
import "prototyped.js/dist/shim";

// or es5
require("prototyped.js/dist/shim");

console.log("hello world!".words()); // ['hello', 'world']

or simply import the prototypes you want

require("prototyped.js/dist/string/shim");
// or
require("prototyped.js/dist/string/words/shim");

console.log("hello world!".words()); // ['hello', 'world']

even better, just import the method you want

const words = require("prototyped.js/dist/string/words");

console.log(words("hello world!")); // ['hello', 'world']

const string = require("prototyped.js/dist/string");

console.log(string.words("hello world!")); // ['hello', 'world']

const pt = require("prototyped.js");

console.log(pt.string.words("hello world!")); // ['hello', 'world']

All documents are available at here

Versioning

We use SemVer for versioning. For the versions available, see the releases on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

FAQs

Package last updated on 07 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc