@corvina/cidr
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Corvina CIDR

This project contains some helper functions to work with CIDR blocks. It's written in typescript and can be imported added to your project using npm.

Installation

Install the package using npm:

npm install @corvina/cidr

Install the package in the browser using unpkg:

<script src="https://unpkg.com/@corvina/cidr"></script>

or using script of type module:

<script type="module">
  import { cidr, endpoint } from 'https://unpkg.com/@corvina/cidr';
</script>

Usage

Typescript sample:

import { cidr, endpoint } from '@corvina/cidr';

See test files (.test.ts) for a complete list of functions and their usage.

How to develop

  • install dependencies with npm install
  • write code in src/
  • run tests with npm test
  • update the version in package.json
  • build and deploy the project on npmjs with npm run deploy

Package Sidebar

Install

npm i @corvina/cidr

Weekly Downloads

16

Version

1.1.2

License

Apache-2.0

Unpacked Size

73.2 kB

Total Files

18

Last publish

Collaborators

  • fabiofiorio
  • ambrof1
  • arrigo.zanette
  • marcello.bellomi
  • zanettea