Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 957c0df

Browse files
committed
docs: update readme
1 parent 6d0e474 commit 957c0df

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# js-datastore-fs
1+
# js-datastore-fs <!-- omit in toc -->
22

33
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
44
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
@@ -13,19 +13,16 @@
1313

1414
> Datastore implementation with file system backend.
1515
16-
## Lead Maintainer
16+
## Lead Maintainer <!-- omit in toc -->
1717

1818
[Alex Potsides](https://github.com/achingbrain)
1919

20-
## Table of Contents
20+
## Table of Contents <!-- omit in toc -->
2121

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)
2926

3027
## Install
3128

@@ -36,8 +33,9 @@ $ npm install datastore-fs
3633
## Usage
3734

3835
```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')
4139
```
4240

4341
## Contribute

0 commit comments

Comments
 (0)