New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ipv6-to-bin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipv6-to-bin

Converts an ipv6 address to a binary form

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ipv6-to-bin npm version Build Status Coverage Status

A small method to convert an ipv6 from hex to binary keeping the format ::::::: (8 segments)

Installation

npm install ipv6-to-bin --save

Usage

var ipv6ToBin = require('ipv6-to-bin');

var localhost = ipv6ToBin('0000:0000:0000:0000:0000:0000:0000:0001');

console.log('localhost', localhost);

Tests

npm test

Todo

add :: support add :0: support add :102: support

Contributing

Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.1.1 modified readme
  • 0.1.0 Initial release

Keywords

FAQs

Package last updated on 07 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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