Skip to content

MrSwitch/tricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tricks

Herein lies some tricks to pull out of the hat for faster backfront development.

CI NPM Version Known Vulnerabilities

Install

After installing tricks ...

npm i tricks

Example usage...

Incorporate a trick by pointing deep into the library... e.g.

import createUrl from 'tricks/string/createUrl';

const url = createUrl('https://test.com/?name=dodson', {name: 'andrew', extra: 1});

// 'https://test.com/?name=andrew&extra=1'

Helping to keep your projects bundled size to a minimum.

Docs

Whilst the jsdocs are being composed piecemeal ./docs, go explore the directory of functions.

More info and specs in test/ directory.