We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9587840 commit 6be185fCopy full SHA for 6be185f
1 file changed
readme.md
@@ -13,18 +13,18 @@ FTP server for node.js
13
14
Either download from [here](https://github.com/mailsvb/jsftpd/releases) or install via npm.
15
16
-```
+```shell
17
$ npm install jsftpd
18
```
19
20
## Quick start
21
22
To get an FTP server running quickly, the below code will get you started by allowing access for a single user.
23
24
+```js
25
const { ftpd } = require('jsftpd')
26
27
-const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'})
+const server = new ftpd({cnf: {username: 'john', password: 'doe', basefolder: '/tmp'}})
28
29
server.start()
30
0 commit comments