Socket
Socket
Sign inDemoInstall

string2compact

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string2compact - npm Package Compare versions

Comparing version 1.2.5 to 1.2.6

18

package.json
{
"name": "string2compact",
"description": "Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers",
"version": "1.2.5",
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)",
"version": "1.2.6",
"author": {
"name": "WebTorrent, LLC",
"email": "feross@webtorrent.io",
"url": "https://webtorrent.io"
},
"bugs": {
"url": "https://github.com/feross/string2compact/issues"
"url": "https://github.com/webtorrent/string2compact/issues"
},

@@ -14,3 +18,2 @@ "dependencies": {

"devDependencies": {
"airtap": "0.0.4",
"compact2string": "^1.4.0",

@@ -36,10 +39,7 @@ "standard": "*",

"type": "git",
"url": "git://github.com/feross/string2compact.git"
"url": "git://github.com/webtorrent/string2compact.git"
},
"scripts": {
"test": "standard && npm run test-node && npm run test-browser",
"test-browser": "airtap -- test/*.js",
"test-browser-local": "airtap --local -- test/*.js",
"test-node": "tape test/*.js"
"test": "standard && tape test/*.js"
}
}
# string2compact [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
[travis-image]: https://img.shields.io/travis/feross/string2compact/master.svg
[travis-url]: https://travis-ci.org/feross/string2compact
[travis-image]: https://img.shields.io/travis/webtorrent/string2compact/master.svg
[travis-url]: https://travis-ci.org/webtorrent/string2compact
[npm-image]: https://img.shields.io/npm/v/string2compact.svg

@@ -14,6 +14,4 @@ [npm-url]: https://npmjs.org/package/string2compact

[![Sauce Test Status](https://saucelabs.com/browser-matrix/string2compact.svg)](https://saucelabs.com/u/string2compact)
This module is the opposite of [compact2string](https://npmjs.org/package/compact2string). It works in the browser with [browserify](http://browserify.org/). It is used by [WebTorrent](http://webtorrent.io), and more specifically, the [bittorrent-tracker](https://github.com/webtorrent/bittorrent-tracker) and [bittorrent-dht](https://github.com/webtorrent/bittorrent-dht) modules.
This module is the opposite of [compact2string](https://npmjs.org/package/compact2string). It works in the browser with [browserify](http://browserify.org/). It is used by [WebTorrent](http://webtorrent.io), and more specifically, the [bittorrent-tracker](https://github.com/feross/bittorrent-tracker) and [bittorrent-dht](https://github.com/feross/bittorrent-dht) modules.
### install

@@ -44,2 +42,2 @@

MIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).
MIT. Copyright (c) [Feross Aboukhadijeh](https://feross.org) and [WebTorrent, LLC](https://webtorrent.io).

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