f-box-core
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "f-box-core", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Put your data in a box, and suddenly it's easier to handle, transform, and use however you need.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -22,3 +22,3 @@ # F-Box | ||
```sh | ||
npm install f-box | ||
npm install f-box-core | ||
``` | ||
@@ -39,3 +39,3 @@ | ||
```typescript | ||
import { Box } from "f-box"; | ||
import { Box } from "f-box-core"; | ||
@@ -59,3 +59,3 @@ const value = Box.pack(10); | ||
```typescript | ||
import { RBox } from "f-box"; | ||
import { RBox } from "f-box-core"; | ||
@@ -79,3 +79,3 @@ const state = RBox.pack(0); | ||
```typescript | ||
import { Maybe } from "f-box"; | ||
import { Maybe } from "f-box-core"; | ||
@@ -99,3 +99,3 @@ const maybeValue = Maybe.just(42); | ||
```typescript | ||
import { Either } from "f-box"; | ||
import { Either } from "f-box-core"; | ||
@@ -123,3 +123,3 @@ const divide = (a: number, b: number): Either<string, number> => | ||
```typescript | ||
import { Task } from "f-box"; | ||
import { Task } from "f-box-core"; | ||
@@ -164,3 +164,3 @@ const asyncTask = Task.pack(() => Promise.resolve(10)); | ||
```typescript | ||
import { Box } from "f-box"; | ||
import { Box } from "f-box-core"; | ||
@@ -183,3 +183,3 @@ const box = Box.pack(5); | ||
```typescript | ||
import { Box } from "f-box"; | ||
import { Box } from "f-box-core"; | ||
@@ -204,3 +204,3 @@ const boxFn = Box.pack((x: number) => x + 3); | ||
```typescript | ||
import { Either } from "f-box"; | ||
import { Either } from "f-box-core"; | ||
@@ -207,0 +207,0 @@ const divide = (a: number, b: number): Either<string, number> => |
51440