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 a889a5a commit 3463fa3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/funding.yml
@@ -1,3 +1,4 @@
github: sindresorhus
open_collective: sindresorhus
tidelift: npm/load-json-file
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.
16 changes: 12 additions & 4 deletions readme.md
Expand Up @@ -26,11 +26,11 @@ const loadJsonFile = require('load-json-file');

## API

### loadJsonFile(filePath, [options])
### loadJsonFile(filePath, options?)

Returns a `Promise<unknown>` with the parsed JSON.

### loadJsonFile.sync(filepath, [options])
### loadJsonFile.sync(filepath, options?)

Returns the parsed JSON.

Expand All @@ -56,6 +56,14 @@ Prescribes how the value originally produced by parsing is transformed, before b
- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically


## License
---

MIT © [Sindre Sorhus](https://sindresorhus.com)
<div align="center">
<b>
<a href="https://tidelift.com/subscription/pkg/npm-load-json-file?utm_source=npm-load-json-file&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 3463fa3

Please sign in to comment.