matt-utils
Advanced tools
Some simple shothands for some js functions and methods
Weekly downloads
Readme
Some simple shorthands for some js functions and methods
Use npm:
npm i -D matt-utils
Or pnpm
pnpm i -D matt-utils
Just import the needed functions into your file
import { addEvent, byId } from 'matt-utils'
addEvent( byId( 'some-selector' ), 'click', ( ev ) => {
console.log( 'click' );
});
Check the API documentation.
Some simple shothands for some js functions and methods
The npm package matt-utils receives a total of 149 weekly downloads. As such, matt-utils popularity was classified as not popular.
We found that matt-utils demonstrated a healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.