1.1.1 • Published 5 years ago

the-hash v1.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

the-hash

Build Status npm Version JS Standard

Hash object to hold key-value pairs

Installation

$ npm install the-hash --save

Usage

'use strict'

const { TheHash } = require('the-hash')

async function tryExample () {
  const hash = new TheHash()
  hash.a = 1
  ok(hash.has('a'))
  const a = hash.get('a')
  console.log(a)

  const p = hash.toProxy({ unknownCheck: true })
  p.x // Emits unknown warning
}

tryExample().catch((err) => console.error(err))

API Guide

License

This software is released under the MIT License.

Links

1.1.1

5 years ago

1.1.0

5 years ago

1.0.15

5 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago