@legit-sdk/core 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +62 -61
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ For this guide, we focus on **Node.js**. Later guides will cover Python, Java, a
|
|
|
35
35
|
### 1. Install the SDK
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
npm install legit-sdk
|
|
38
|
+
npm install @legit-sdk/core
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
> This package provides everything you need: creating a LegitFS instance, reading/writing files, and accessing version history.
|
|
@@ -44,7 +44,7 @@ npm install legit-sdk
|
|
|
44
44
|
|
|
45
45
|
```typescript
|
|
46
46
|
import { fs } from 'memfs';
|
|
47
|
-
import { initLegitFs } from 'legit-sdk';
|
|
47
|
+
import { initLegitFs } from '@legit-sdk/core';
|
|
48
48
|
|
|
49
49
|
async function main() {
|
|
50
50
|
// create a LegitFS instance backed by memfs
|