Socket
Socket
Sign inDemoInstall

assert6

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    assert6

Node assert with support for Maps and Sets


Version published
Maintainers
1
Install size
21.8 kB
Created

Readme

Source

assert6

Build Status Coverage Status

Node assert with support for Maps and Sets

Install

$ npm install [--save-dev] assert6

API

assert6 has the same api as the built-in assert with a few additional methods. The main difference is that assert.deepEqual and assert.deepStrictEqual work for Maps and Sets.

assert.assertMap(actual, expected, message)

assert.assertMapStrict(actual, expected, message)

assert.assertSet(actual, expected, message)

assert.assertSetStrict(actual, expected, message)

Author

Evan Lucas

License

MIT (See LICENSE for more info)

FAQs

Last updated on 12 Aug 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • 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