-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding docs for clean #260
Conversation
c9c274c
to
8a92851
Compare
1 similar comment
8a92851
to
46c24af
Compare
README.md
Outdated
|
||
ex. | ||
* `s.clean(' = v 2.1.5foo')`: `null` | ||
* `s.clean(' = v 2.1.5foo', true)`: `'2.1.5-foo'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be s.clean(' = v 2.1.5foo', { loose: true })
now. The boolean option has been replaced with an options object.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both spots have been updated.
This is just adding docs in the README for clean.
Resolves #134