Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

js-utils

A few small zero-dependency helpers I kept rewriting across projects.

Usage

import { clamp, chunk } from "./src/index.js";

clamp(42, 0, 10);       // 10
chunk([1, 2, 3, 4], 2); // [[1, 2], [3, 4]]

License

MIT

About

Small zero-dependency JavaScript helpers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages