0.8.1 • Published 3 years ago

@buckneri/spline v0.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

spline

A small collection of D3 related functions

formatNumber(number);
// returns a formated string number

positionPop(referenceElement, targetElement, 20);
/**
 * returns information for the targetElement to be positioned
 * relative to the referenceElement
 * > {
 *      orientX: "left" | "center" | "right",
 *      orientY: "top" | "middle" | "bottom",
 *      x: number, y: number
 *   }
 */

new RGB (*CSS_color*);

svg(element, { margin: { left: 23, top: 18 }});
// returns the SVGElement attached to the (parent) element

Install

npm i --save @buckneri/spline
0.8.1

3 years ago

0.8.0

3 years ago

0.7.10

4 years ago

0.7.9

4 years ago

0.7.8

4 years ago

0.7.7

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.6.2

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.2

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago