tricks
Version:
ES6 modules
37 lines (21 loc) • 1.05 kB
Markdown
# Tricks
Herein lies some tricks to pull out of the hat for faster backfront development.

[](https://npmjs.org/package/tricks)
[](https://snyk.io/test/github/mrswitch/tricks)
## Install
After installing tricks ...
```bash
npm i tricks
```
### Example usage...
Incorporate a trick by pointing deep into the library... e.g.
```javascript
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](./docs), go explore the [directory](https://github.com/MrSwitch/tricks) of functions.
More info and specs in [test/](https://github.com/MrSwitch/tricks/tree/main/test) directory.