Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js-sdk-dict

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-sdk-dict

Simple dictionary utility.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

js-sdk-dict

Simple dictionary utilities.

library

$ Dict() -> Dict

// Dictionary type. This represents an object with unordered key.


$ Dict::create() -> Dict

// Smart contructor.


$ Dict::set(k : Any, v : Any) -> Dict

// add a new item to the dict. 'k' key must be an object that
// can be tested with '=='.


$ Dict::get(k : Any) -> Dict

// get an item from the dict. 'k' key must be an object that
// can be tested with '=='.

license

See license.md or visit Unlicense.

FAQs

Package last updated on 12 Sep 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc