invaluable-solitaire
v2.0.1-beta
Published
Solitaire - a reusable widget library for all Invaluable projects
Downloads
3
Readme
Solitaire
Solitaire is a library of React widgets to be imported by any Invaluable React application.
Installation
// In your repo
npm install invaluable-solitaire
OR
yarn add invaluable-solitaire
Usage
// In your files
const { seoFriendlyUrl } = require('solitaire/urls');
// Output: hello-friends
seoFriendlyUrl('hello%20FRIENDS'));
Tests
Mocha and Chai are included in this repository... please write lots and lots of tests for all functionality since everything will be shared across multiple projects.