0.4.4 • Published 2 years ago

@dashkite/helium v0.4.4

Weekly downloads
1
License
SEE LICENSE IN LI...
Repository
github
Last release
2 years ago

Helium

Share values across modules without polluting the global scope.

original = foo: "bar"

Registry.set test: original

returned = Registry.get "test"

Install

npm i @dashkite/helium

Bundle with your favorite bundler. You can bundle the CoffeeScript directly to compile it with your settings by using coffee:main as the entry point.

API

get key → value

Return the value associated with the given key.

set dictionary → ~

For each key-value pair in the dictionary, set the value associated with the key.

Registery.set
  foo: "apples"
  bar: "bananas"
0.4.4

2 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago