Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chocolateloverraj/map-get-or-set
Gets a value for a given key in a map, setting the fallback value if it doesn't exist.
https://github.com/chocolateloverraj/map-get-or-set
esmodule get javascript map mocha set typescript
Last synced: about 1 month ago
JSON representation
Gets a value for a given key in a map, setting the fallback value if it doesn't exist.
- Host: GitHub
- URL: https://github.com/chocolateloverraj/map-get-or-set
- Owner: ChocolateLoverRaj
- License: mit
- Created: 2022-03-16T04:58:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-07-20T18:23:50.000Z (over 2 years ago)
- Last Synced: 2024-08-09T06:07:38.424Z (5 months ago)
- Topics: esmodule, get, javascript, map, mocha, set, typescript
- Language: TypeScript
- Homepage: https://chocolateloverraj.github.io/map-get-or-set
- Size: 94.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# map-get-or-set
Gets a value for a given key in a map, setting the fallback value if it doesn't exist.![Created with ](https://img.shields.io/badge/Created%20with-@programmerraj/create-3cb371?style=flat)
[![TS-Standard - Typescript Standard Style Guide](https://badgen.net/badge/code%20style/ts-standard/blue?icon=typescript)](https://github.com/standard/ts-standard)## Npm
[`map-get-or-set`](https://www.npmjs.com/package/map-get-or-set)## GitHub Repo
https://github.com/ChocolateLoverRaj/map-get-or-set## Docs
https://chocolateloverraj.github.io/map-get-or-set