This repository was archived by the owner on Mar 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
- # js-datastore-fs
1
+ # js-datastore-fs <!-- omit in toc -->
2
2
3
3
[ ![ ] ( https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square )] ( http://ipn.io )
4
4
[ ![ ] ( https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square )] ( http://ipfs.io/ )
13
13
14
14
> Datastore implementation with file system backend.
15
15
16
- ## Lead Maintainer
16
+ ## Lead Maintainer <!-- omit in toc -->
17
17
18
18
[ Alex Potsides] ( https://github.com/achingbrain )
19
19
20
- ## Table of Contents
20
+ ## Table of Contents <!-- omit in toc -->
21
21
22
- - [ js-datastore-fs] ( #js-datastore-fs )
23
- - [ Lead Maintainer] ( #lead-maintainer )
24
- - [ Table of Contents] ( #table-of-contents )
25
- - [ Install] ( #install )
26
- - [ Usage] ( #usage )
27
- - [ Contribute] ( #contribute )
28
- - [ License] ( #license )
22
+ - [ Install] ( #install )
23
+ - [ Usage] ( #usage )
24
+ - [ Contribute] ( #contribute )
25
+ - [ License] ( #license )
29
26
30
27
## Install
31
28
@@ -36,8 +33,9 @@ $ npm install datastore-fs
36
33
## Usage
37
34
38
35
``` js
39
- const FsStore = require (' datastore-fs' )
40
- const store = new FsStore (' path/to/store' )
36
+ import { FSDatastore } from ' datastore-fs'
37
+
38
+ const store = new FSDatastore (' path/to/store' )
41
39
```
42
40
43
41
## Contribute
You can’t perform that action at this time.
0 commit comments