Socket
Socket
Sign inDemoInstall

base64-url

Package Overview
Dependencies
0
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.0 to 1.2.1

2

index.js

@@ -0,1 +1,3 @@

'use strict';
var base64url = module.exports;

@@ -2,0 +4,0 @@

10

package.json
{
"name": "base64-url",
"version": "1.2.0",
"version": "1.2.1",
"description": "Base64 encode, decode, escape and unescape for URL applications",

@@ -12,6 +12,6 @@ "main": "index.js",

"scripts": {
"test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/tape/bin/tape test.js",
"jshint": "./node_modules/jshint/bin/jshint -c .jshintrc *.js",
"code-style": "./node_modules/jscs/bin/jscs -p google *.js",
"check-coverage": "./node_modules/istanbul/lib/cli.js check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
"test": "istanbul cover tape test.js",
"jshint": "jshint -c .jshintrc *.js",
"code-style": "jscs -p google *.js",
"check-coverage": "istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
"coverage": "open coverage/lcov-report/index.html"

@@ -18,0 +18,0 @@ },

@@ -10,15 +10,3 @@ # base64-url

**V1.1**
**code coverage:**
`npm test && npm run check-coverage && npm run coverage`
**code-style:**
`npm run code-style`
**jshint:**
`npm run jshint`
####API
## API

@@ -37,1 +25,31 @@ > base64url.encode('Node.js is awesome.');

## 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
``` js
npm test
```
to run jshint
``` js
npm run jshint
```
to run code style
``` js
npm run code-style
```
to check code coverage
``` js
npm run check-coverage
```
to open the code coverage report
``` js
npm run open-coverage
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc