2.3.0 • Published 3 years ago

xet v2.3.0

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

Build Status

xet (ʃɛt) retrieves a map's value for a given key, setting it with a provided factory if it isn't present.

xet( map, key, factory )
// where
const factory = (key, value) => value

This is useful when writing in a point-free declarative dialect - virtual DOM view templates for example - and want to write functions that can conditionally run setup in the form of the factory.

2.3.0

3 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago