Skip to content

Commit 6be185f

Browse files
authored
Fix error and improve
1 parent 9587840 commit 6be185f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ FTP server for node.js
1313

1414
Either download from [here](https://github.com/mailsvb/jsftpd/releases) or install via npm.
1515

16-
```
16+
```shell
1717
$ npm install jsftpd
1818
```
1919

2020
## Quick start
2121

2222
To get an FTP server running quickly, the below code will get you started by allowing access for a single user.
2323

24-
```
24+
```js
2525
const { ftpd } = require('jsftpd')
2626

27-
const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'})
27+
const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'}})
2828

2929
server.start()
3030
```

0 commit comments

Comments
 (0)