https://github.com/kaihodev/hikidashi
Convenient, simple, functional JavaScript. Like hikidashi boxes. Check out develop branch!~
https://github.com/kaihodev/hikidashi
functional-programming hacktoberfest hikidashi javascript
Last synced: 10 days ago
JSON representation
Convenient, simple, functional JavaScript. Like hikidashi boxes. Check out develop branch!~
- Host: GitHub
- URL: https://github.com/kaihodev/hikidashi
- Owner: kaihodev
- License: mit
- Created: 2021-04-17T01:50:05.000Z (over 4 years ago)
- Default Branch: develop
- Last Pushed: 2023-04-23T03:34:54.000Z (over 2 years ago)
- Last Synced: 2025-09-20T22:13:37.391Z (about 2 months ago)
- Topics: functional-programming, hacktoberfest, hikidashi, javascript
- Language: TypeScript
- Homepage: https://hikidashi.js.org
- Size: 5.27 MB
- Stars: 10
- Watchers: 1
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Hikidashi
### Convenient, simple, functional JavaScript. Like [hikidashi boxes](https://happiboxshop.com/blogs/news/12-alternatives-to-marie-kondo-hikidashi-boxes).
[NPM](https://npm.im/hikidashi) |
[Docs](https://kaihodev.github.io/hikidashi) |
[Github](https://github.com/kaihodev/hikidashi/tree/develop)
Hikidashi is released under the [MIT license](https://github.com/kaihodev/hikidashi/blob/develop/LICENSE) & supports modern Node and browser environments.
## Quick install
**Use any of the following.**
```shell
$ npm i hikidashi
$ yarn add hikidashi
$ pnpm i hikidashi
```
Note: add `--save` if you are using npm < 5.0.0
Using ESM: smaller bundle sizes.
```js
// Load only what you need
import map from 'hikidashi/unsafe/array/mapip.mjs';
import add from 'hikidashi/safe/math/add.mjs';
const series = map(Array(10).fill(0), add);
console.log(series); // [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
```
Using a single require:
```js
const { unsafe } = require('hikidashi');
const series = unsafe.mapip([1, 2, 3, 4], e => e * 2);
console.log(series); // [2, 4, 6, 8]
```
Using exported paths:
```js
const safe = require('hikidashi/safe');
const series = safe.filter([true, false, true])
console.log(series); // [true, true]
```
## Why Hikidashi
We like going back to basics with convenient, simple, functional JavaScript. Hikidashi is a one-stop-shop for all your daily array, object, string, and mathematical needs.
* Easy to Use, simple API based on common sense.
* Fast, lightweight, and built for the new age. (We're usually faster than **every** alternative, see our benchmarks!)
* Modular, bundler-friendly file structure lets you use only what you need.