fast-af
Advanced tools
Collection of fastest JavaScript algorithms.
Weekly downloads
Readme
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
Collection of fastest JavaScript algorithms.
The npm package fast-af receives a total of 370 weekly downloads. As such, fast-af popularity was classified as not popular.
We found that fast-af demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.