You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
nau 5fa880dd01 database externa 7 years ago
..
LICENSE get token for user, post users, get all users, post thought, get all thoughts. runs ok 7 years ago
README.md get token for user, post users, get all users, post thought, get all thoughts. runs ok 7 years ago
index.js get token for user, post users, get all users, post thought, get all thoughts. runs ok 7 years ago
package.json database externa 7 years ago

README.md

base64-url

Base64 encode, decode, escape and unescape for URL applications.

Build Status

API

base64url.encode('Node.js is awesome.');
// returns Tm9kZS5qcyBpcyBhd2Vzb21lLg

base64url.decode('Tm9kZS5qcyBpcyBhd2Vzb21lLg');
// returns Node.js is awesome.

base64url.escape('This+is/goingto+escape==');
// returns This-is_goingto-escape

base64url.unescape('This-is_goingto-escape');
// returns This+is/goingto+escape==

Development

this projet has been set up with a precommit that forces you to follow a code style, no jshint issues and 100% of code coverage before commit

to run test

npm test

to run lint

npm run lint

to run code style

npm run style

to check code coverage

npm run coverage:check