Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

fast-af

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

fast-af

Collection of fastest JavaScript algorithms.

    0.3.0latest
    npm

Version published
Maintainers
1
Weekly downloads
423
decreased by-38.52%

Weekly downloads

Readme

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

Last updated on 10 Oct 2018

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.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc