Skip to content
This repository has been archived by the owner on Jan 7, 2022. It is now read-only.

Refactor to be promise-based #19

Merged
merged 5 commits into from
Jun 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
/.nyc_output/
/coverage/
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
node_js:
- '9'
- '12'
- '10'
- '8'
- '7'
- '6'
- '4'
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ rpt('/path/to/pkg/root', function (node, kidName) {
// error: <if set, the error we got loading/parsing the package.json>
// }
})

// or promise-style
rpt('/path/to/pkg/root').then(data => { ... })
```

That's it. It doesn't figure out if dependencies are met, it doesn't
Expand Down
Loading