2.3.0 • Published 4 years ago

xet v2.3.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 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

4 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago