Package Exports
- base64-url
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (base64-url) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
base64-url
Base64 encode, decode, escape and unescape for URL applications.
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 testto run jshint
npm run jshintto run code style
npm run code-styleto check code coverage
npm run check-coverageto open the code coverage report
npm run coverage
