Security News
npm Updates Search Experience with New Objective Sorting Options
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
@rocket.chat/string-helpers
Advanced tools
@rocket.chat/string-helpers
Helper functions for string manipulation
Add @rocket.chat/string-helpers
as a dependency:
npm i @rocket.chat/string-helpers
# or, if you are using yarn:
yarn add @rocket.chat/string-helpers
Contributions, issues, and feature requests are welcome!
Feel free to check the issues.
As this package dependends on others in this monorepo, before anything run the following at the root directory:
yarn build
To ensure the source is matching our coding style, we perform linting. Before commiting, check if your code fits our style by running:
yarn lint
Some linter warnings and errors can be automatically fixed:
yarn lint-and-fix
Whenever possible, add tests to describe exactly what your code do. You can run them by yourself:
yarn test
FAQs
Helper functions for string manipulation
The npm package @rocket.chat/string-helpers receives a total of 1,957 weekly downloads. As such, @rocket.chat/string-helpers popularity was classified as popular.
We found that @rocket.chat/string-helpers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm has a revamped search experience with new, more transparent sorting options—Relevance, Downloads, Dependents, and Publish Date.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.