🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

fast-af

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-af

Collection of fastest JavaScript algorithms.

0.3.0
latest
npm
Version published
Weekly downloads
526
-1.5%
Maintainers
1
Weekly downloads
 
Created
Source

fast-af

Curated collection of fastest JavaScript algorithms.

extend()

Extends arbitrary number object (similar how Object.assign() works).

import {extend} from 'fast-af/extend';

extend(a, b, {foo: 'bar'});

shallowEqual()

Shallow compares two objects for equality.

import {shallowEqual} from 'fast-af/shallowEqual';

const isEqual = shallowEqual({foo: 'bar'}, {foo: 'bar'});

deepEqual()

Compares recursively JavaScript objects for equality.

import {deepEqual} from 'fast-af/deepEqual';

const isEqual = deepEqual({foo: 'bar'}, {foo: 'bar'});

stableStringify()

Predictably stringifies plain JavaScript objects.

import {stableStringify} from 'fast-af/stableStringify';

const str = stableStringify({foo: 'bar'});

FAQs

Package last updated on 10 Oct 2018

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