Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isuri

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isuri - npm Package Compare versions

Comparing version 0.0.2 to 1.0.0

0

index.js

@@ -0,0 +0,0 @@ (function(module) {

6

package.json
{
"name": "isuri",
"description": "Pure Javascript implementation for truly checking if the provided input is an URI. Based on RFC 3986.",
"version": "0.0.2",
"version": "1.0.0",
"author": {

@@ -31,3 +31,5 @@ "name" : "David Pate",

"mocha": "^1.x",
"should": "^4.x"
"should": "^4.x",
"benchmark": "^1.x",
"beautify-benchmark": "^0.x"
},

@@ -34,0 +36,0 @@ "scripts": {

@@ -5,3 +5,4 @@ isUri

[![Build Status](https://travis-ci.org/DavidTPate/isuri.svg?branch=master)](https://travis-ci.org/DavidTPate/isuri)
[![Coverage Status](https://img.shields.io/coveralls/DavidTPate/isuri.svg?branch=master)](https://coveralls.io/r/DavidTPate/isuri)
[![Code Climate](https://codeclimate.com/github/DavidTPate/isuri/badges/gpa.svg)](https://codeclimate.com/github/DavidTPate/isuri)
[![Test Coverage](https://codeclimate.com/github/DavidTPate/isuri/badges/coverage.svg)](https://codeclimate.com/github/DavidTPate/isuri)

@@ -25,4 +26,37 @@ Pure Javascript implementation for truly checking if the provided input is an URI. Compliant with [RFC 3986](http://tools.ietf.org/html/rfc3986) and documented!

## Benchmarks
``` bash
> Benchmarking complex-ipv4.js
Testing URI "http://asdf:qw%20er@127.0.0.1:8000?asdf=12345&asda=fc%2F#bacon"
isUri#test(uri) x 1,916,525 ops/sec ±0.22% (196 runs sampled)
> Benchmarking complex-ipv6.js
Testing URI "http://asdf:qw%20er@[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:8000?asdf=12345&asda=fc%2F#bacon"
isUri#test(uri) x 1,367,745 ops/sec ±0.18% (196 runs sampled)
> Benchmarking complex-ipvFuture.js
Testing URI "http://asdf:qw%20er@[v1.09azAZ-._~!$&'()*+,;=:]:8000?asdf=12345&asda=fc%2F#bacon"
isUri#test(uri) x 1,485,227 ops/sec ±0.19% (195 runs sampled)
> Benchmarking complex-uri.js
Testing URI "http://asdf:qw%20er@localhost:8000?asdf=12345&asda=fc%2F#bacon"
isUri#test(uri) x 2,100,513 ops/sec ±0.18% (197 runs sampled)
> Benchmarking simple-uri.js
Testing URI "mailto:John.Doe@example.com"
isUri#test(uri) x 2,314,868 ops/sec ±0.19% (195 runs sampled)
```
## License
[MIT](LICENSE)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc