All Projects → ardalanamini → prototyped.js

ardalanamini / prototyped.js

Licence: MIT license
Some common Typescript prototypes

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to prototyped.js

DataTypes
Built-in data types
Stars: ✭ 34 (+54.55%)
Mutual labels:  string, object, function, boolean, number
utils.js
👷 🔧 zero dependencies vanilla JavaScript utils.
Stars: ✭ 14 (-36.36%)
Mutual labels:  string, date, object, array, function
rxjs-ninja
RxJS Operators for handling Observable strings, numbers, booleans and more
Stars: ✭ 68 (+209.09%)
Mutual labels:  string, array, boolean, number
Kind Of
Get the native JavaScript type of a value, fast. Used by superstruct, micromatch and many others!
Stars: ✭ 268 (+1118.18%)
Mutual labels:  string, date, object, array
php-helpers
An extensive set of PHP helper functions and classes.
Stars: ✭ 27 (+22.73%)
Mutual labels:  string, object, array
common
Metarhia Common Library
Stars: ✭ 55 (+150%)
Mutual labels:  date, array, common
DS ALGO
Data Structures and algorithms
Stars: ✭ 20 (-9.09%)
Mutual labels:  string, array
js-explorer
Find the method you need without digging through the docs, directly on the command line!
Stars: ✭ 287 (+1204.55%)
Mutual labels:  object, array
json-as-xlsx
Create excel from json npm package
Stars: ✭ 103 (+368.18%)
Mutual labels:  client-side, server-side
Quell
Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.
Stars: ✭ 473 (+2050%)
Mutual labels:  client-side, server-side
is-extendable
Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, function or date. Useful for determining if a value is an object that can be extended.
Stars: ✭ 19 (-13.64%)
Mutual labels:  object, function
is-primitive
Is the typeof value a javascript primitive?
Stars: ✭ 35 (+59.09%)
Mutual labels:  string, number
PENDOWN
Text-to-HTML conversion tool for web writers, with integrated styling and tag customization.
Stars: ✭ 33 (+50%)
Mutual labels:  client-side, server-side
js-deep-sort-object
Simple module to sort objects recursively by its keys
Stars: ✭ 19 (-13.64%)
Mutual labels:  object, array
Data-Structure-Algorithm-Programs
This Repo consists of Data structures and Algorithms
Stars: ✭ 464 (+2009.09%)
Mutual labels:  string, array
DigitText
The module allows to translate numbers into a text equivalent. This is important in the billing.
Stars: ✭ 22 (+0%)
Mutual labels:  string, number
obj-to-table
Create a table from an array of objects
Stars: ✭ 15 (-31.82%)
Mutual labels:  string, object
vue-translated
Internationalization (i18n) and localization (l10n) library for Vue.js v2.
Stars: ✭ 19 (-13.64%)
Mutual labels:  date, number
Stringfication
🔨 Make all objects to String!
Stars: ✭ 33 (+50%)
Mutual labels:  string, object
Algo Tree
Algo-Tree is a collection of Algorithms and data structures which are fundamentals to efficient code and good software design. Creating and designing excellent algorithms is required for being an exemplary programmer. It contains solutions in various languages such as C++, Python and Java.
Stars: ✭ 166 (+654.55%)
Mutual labels:  string, array

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

All documents are available at here

ECMAScript

Apply prototypes:

import "prototyped.js/shim";
// or more specificaly...
import "prototyped.js/string/shim";
// or even more specificaly!
import "prototyped.js/string/words/shim";

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

Or just import the methods without causing any side effect:

import words from "prototyped.js/string/words";

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

import string from "prototyped.js/string";

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

import pt from "prototyped.js";

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

CommonJS

Apply prototypes:

require("prototyped.js/shim");
// or more specificaly...
require("prototyped.js/string/shim");
// or even more specificaly!
require("prototyped.js/string/words/shim");

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

Or just import the methods without causing any side effect:

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

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

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

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

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

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

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].