Gathering detailed insights and metrics for @supercharge/strings
Gathering detailed insights and metrics for @supercharge/strings
Gathering detailed insights and metrics for @supercharge/strings
Gathering detailed insights and metrics for @supercharge/strings
npm install @supercharge/strings
Typescript
Module System
Node Version
NPM Version
99.2
Supply Chain
94.4
Quality
80
Maintenance
100
Vulnerability
100
License
JavaScript (50.04%)
TypeScript (49.96%)
Total Downloads
3,427,222
Last Day
5,732
Last Week
32,799
Last Month
161,857
Last Year
2,064,136
44 Stars
408 Commits
18 Forks
4 Watching
1 Branches
11 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
@supercharge/strings@2.0.0
Unpacked Size
59.60 kB
Size
11.79 kB
File Count
19
NPM Version
9.2.0
Node Version
16.19.0
Cumulative downloads
Total Downloads
Last day
-6.6%
5,732
Compared to previous day
Last week
-15.2%
32,799
Compared to previous week
Last month
-4.8%
161,857
Compared to previous month
Last year
173.5%
2,064,136
Compared to previous year
String utilities for Node.js.
Installation · Docs · Usage
Follow @marcuspoehls and @superchargejs for updates!
The @supercharge/strings
package provides chainable string utilities for Node.js and JavaScript. It’s a wrapper around JavaScript’s global String
class providing a handful of useful methods, like .title()
, .strip()
, .camel()
, and so on.
npm i @supercharge/strings
Find all the details for @supercharge/strings
in the extensive Supercharge docs.
Using @supercharge/strings
is pretty straightforward. Pass a string to the imported Function and chain your desired methods to transform to string value to your needs.
For example, you may want to trim a string and then title-case it:
1const Str = require('@supercharge/strings') 2 3const title = Str(' Supercharge is sweet!').trim().title().get() 4 5// title: "Supercharge Is Sweet!"
For every method in the chain that would return a string, the package returns an instance of iteself. This way, you can chain further methods. Call .get()
to retrieve the actual JavaScript string.
Do you miss a string function? We very much appreciate your contribution! Please send in a pull request 😊
git checkout -b my-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © Supercharge
superchargejs.com · GitHub @supercharge · Twitter @superchargejs
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/11 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More