space-lift
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "space-lift", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "JS/TS array, object utils", | ||
"main": "lib", | ||
"typings": "lib/index.d.ts", | ||
"main": "index.js", | ||
"typings": "index.d.ts", | ||
"files": [ "lib" ], | ||
"files": [ | ||
"index.js", | ||
"index.d.ts", | ||
"all.js", | ||
"all.d.ts", | ||
"transform.js", | ||
"transform.d.ts", | ||
"array", | ||
"object" | ||
], | ||
"scripts": { | ||
"build": "tsc src/**/*.ts src/*.ts --lib 'es5,es2015.core' --outDir ./lib --declaration --noImplicitAny --strictNullChecks --suppressImplicitAnyIndexErrors", | ||
"build": "tsc src/**/*.ts src/*.ts --lib 'es5,es2015.core' --outDir ./ --declaration --noImplicitAny --strictNullChecks --suppressImplicitAnyIndexErrors", | ||
"pretest": "npm run build && tsc test/mocha.d.ts test/global.d.ts test/test.ts --outDir ./test --noImplicitAny --strictNullChecks", | ||
@@ -13,0 +22,0 @@ "test": "mocha test/test.js", |
@@ -1,7 +0,9 @@ | ||
# space-lift | ||
**space-lift** | ||
"Lift your values into space for infinite possibilities" | ||
Lift your values into space for infinite possibilities. | ||
Utils for Arrays, Objects | ||
![](http://i.imgur.com/DWrI2JY.gif?noredirect) | ||
# Utils for Arrays, Objects | ||
Design goals | ||
@@ -61,3 +63,3 @@ - 100% immutable, no magic, no overwhelming polymorphism or dynamic operators | ||
The easiest is to import everything in a single import (probably in your main file): | ||
The fastest way is to install everything in a single import (probably in your main file): | ||
@@ -80,3 +82,3 @@ ```ts | ||
Most of the time, you will have to call `.value()` to read your value back (or just `()` for options (although it is recommended to use `map`/`getOrElse`/etc instead) | ||
Most of the time, you will have to call `.value()` to read your value back (or just `()` for options, although it is recommended to use `map`/`getOrElse`/etc instead) | ||
Because it's distracting to write `.value()` more than once per chain, some operators will automatically unwrap values returned from their callback. | ||
@@ -83,0 +85,0 @@ These operators are: |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
87
44278
94
1389
1