Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "turf-size", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "turf size module", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
turf-size | ||
========= | ||
[![Build Status](https://travis-ci.org/Turfjs/turf-size.svg)](https://travis-ci.org/Turfjs/turf-size) | ||
Takes a bbox and returns a new bbox with a size expanded or contracted by a factor of X. | ||
```js | ||
var bbox = [0, 0, 10, 10] | ||
var doubled = size(bbox, 2) | ||
console.log(doubled) // [-10, -10, 20, 20] | ||
``` |
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
4185
13