@flatten-js/interval-tree
Advanced tools
Comparing version 1.0.16 to 1.0.17
@@ -7,5 +7,5 @@ // Type definitions for flatten-interval-tree library | ||
type Value<T> = T; | ||
type NumericTuple = [number,number]; | ||
export type NumericTuple = [number,number]; | ||
type MappedItem = any; | ||
type SearchOutput<T> = Array<Value<T>> | Array<Interval> | Array<MappedItem> | ||
export type SearchOutput<T> = Array<Value<T>> | Array<Interval> | Array<MappedItem> | ||
@@ -48,3 +48,3 @@ interface IntervalInterface { | ||
declare class Node<T> { | ||
export declare class Node<T> { | ||
constructor(key?: Interval | NumericTuple, value?: Value<T> ) | ||
@@ -51,0 +51,0 @@ |
{ | ||
"name": "@flatten-js/interval-tree", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "Interval search tree", | ||
@@ -5,0 +5,0 @@ "author": "Alex Bol", |
@@ -5,2 +5,3 @@ # Interval Tree | ||
[![Coverage Status](https://coveralls.io/repos/github/alexbol99/flatten-interval-tree/badge.svg?branch=master)](https://coveralls.io/github/alexbol99/flatten-interval-tree?branch=master) | ||
[![Rate on Openbase](https://badges.openbase.com/js/rating/@flatten-js/interval-tree.svg)](https://openbase.com/js/@flatten-js/interval-tree?utm_source=embedded&utm_medium=badge&utm_campaign=rate-badge) | ||
@@ -7,0 +8,0 @@ The package **@flatten-js/interval-tree** is an implementation of interval binary search tree according to Cormen et al. Introduction to Algorithms (2009, Section 14.3: Interval trees, pp. 348–354). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
148219
186