Skip to content
/ ipmerge Public

a simple library to tidy and merge range dataset (such as ip table) to one

Notifications You must be signed in to change notification settings

aleafs/ipmerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

About

ipmerge is a simple library to tidy and merge range dataset (such as ip table) to one.

Usage

var ipmerge = require('ipmerge');

console.log(ipmerge.merge([{
  's' : 1, 'e' : 10, 'p' : 3, 'd' : 'ABC'
}, {
  's' : 7, 'e' : 20, 'p' : 2, 'd' : 'ABB'
}, {
  's' : 21, 'e' : 30, 'p' : 4, 'd' : 'ABB'
}], 1));
[
	{'s' : 1, 'e' : 6, 'd' : 'ABC'},
	{'s' : 7, 'e' : 30, 'd' : 'ABB'}
]

License

MIT

About

a simple library to tidy and merge range dataset (such as ip table) to one

Resources

Stars

Watchers

Forks

Packages

No packages published