Skip to content

Commit

Permalink
Tidelift tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 31, 2019
1 parent f03a4db commit 49b26bd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/funding.yml
@@ -1,4 +1,4 @@
github: sindresorhus
open_collective: sindresorhus
patreon: sindresorhus
tidelift: npm/make-dir
custom: https://sindresorhus.com/donate
3 changes: 3 additions & 0 deletions .github/security.md
@@ -0,0 +1,3 @@
# Security Policy

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
20 changes: 14 additions & 6 deletions readme.md
Expand Up @@ -73,11 +73,11 @@ const makeDir = require('make-dir');

## API

### makeDir(path, [options])
### makeDir(path, options?)

Returns a `Promise` for the path to the created directory.

### makeDir.sync(path, [options])
### makeDir.sync(path, options?)

Returns the path to the created directory.

Expand All @@ -89,7 +89,7 @@ Directory to create.

#### options

Type: `Object`
Type: `object`

##### mode

Expand All @@ -100,7 +100,7 @@ Directory [permissions](https://x-team.com/blog/file-system-permissions-umask-no

##### fs

Type: `Object`<br>
Type: `object`<br>
Default: `require('fs')`

Use a custom `fs` implementation. For example [`graceful-fs`](https://github.com/isaacs/node-graceful-fs).
Expand All @@ -118,6 +118,14 @@ Using a custom `fs` implementation will block the use of the native `recursive`
- [move-file](https://github.com/sindresorhus/move-file) - Move a file


## License
---

MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-make-dir?utm_source=npm-make-dir&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
</b>
<br>
<sub>
Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
</sub>
</div>

0 comments on commit 49b26bd

Please sign in to comment.