Skip to content

A zero-dependency JavaScript utility library delivering missing native functions 💼

License

Notifications You must be signed in to change notification settings

trantlabs/missing-native-js-functions

Repository files navigation

npm version npm downloads

Missing Native Functions

A zero-dependecy JavaScript utility library delivering missing native functions 💼

Why use mnjsf?

mnjsf delivers functions missing from JavaScript

❯ 💼 Zero-Dependency Built without a dependency hell
❯ 📐 Lightweight 2.5KB
❯ 🌐 NodeJS/Browser Support use mnjsf in a browser or a Node.js application
❯ ✨ Direct Call of utility functions on variables ([].last())

This library extends the properties of Array, Object, Promise, Global, Math, Number and String

Installation

npm i missing-native-js-functions
# or "yarn add missing-native-js-functions"

Usage

ES5 import

require("missing-native-js-functions");

ES6 import

import "missing-native-js-functions";

use in Browser

<script src="https://cdn.jsdelivr.net/npm/missing-native-js-functions/dist/mnjsf.min.js"></script>

License

Made with 💚 Published under MIT License.