Skip to content

Commit

Permalink
update note on allowTopLevel behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
justinwoo committed Aug 11, 2023
1 parent 0196d2e commit e3cd4c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ By default, scarf-js will only trigger analytics when your package is installed
// Toggles whether Scarf is enabled for this package
"enabled": true,
// Enables Scarf when users run npm install directly in your repository
// Scarf will try to report the Git commit SHA of your repository if it can
// be obtained.
"allowTopLevel": true,
// Users will be opted into analytics by default
"defaultOptIn": true,
Expand Down

0 comments on commit e3cd4c3

Please sign in to comment.