Skip to content

agj/copy-paste-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Copy&Paste JS 📋

A collection of small, stand-alone JavaScript and TypeScript utilities designed for copy-pasting into your project, for whenever it's impractical or undesirable to depend on external utility libraries such as Ramda or Lodash. What I use them for is userscripts! The design of these utilities is focused on function composition—many functions return other functions that take more arguments. All of the code is released onto the public domain, so steal away!

This is forever a work in slow progress, as I'll add or improve utilities whenever I feel like it.

Some caveats:

  • Not every utility has a proper explanation of what it does, and no examples of use are provided.
  • The TypeScript versions don't all have type declarations yet.
  • Although there's unit tests for every utility, most still require improvements.

The utilities

Follow the link to the version you need:

About

Tiny copy-pastable utilities for zero dependencies. ✂️

Topics

Resources

Stars

Watchers

Forks