Installations
npm install dashify-unicode
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
12.14.0
NPM Version
6.13.4
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
smrsan76
Download Statistics
Total Downloads
1,214
Last Day
4
Last Week
11
Last Month
23
Last Year
118
GitHub Statistics
7 Commits
2 Watching
1 Branches
2 Contributors
Bundle Size
423.00 B
Minified
297.00 B
Minified + Gzipped
Package Meta Information
Latest Version
1.0.2
Package Id
dashify-unicode@1.0.2
Unpacked Size
3.81 kB
Size
1.94 kB
File Count
4
NPM Version
6.13.4
Node Version
12.14.0
Total Downloads
Cumulative downloads
Total Downloads
1,214
Last day
300%
4
Compared to previous day
Last week
175%
11
Compared to previous week
Last month
666.7%
23
Compared to previous month
Last year
3.5%
118
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
No dependencies detected.
dashify-unicode
Convert a camelcase or space-separated string to a dash-separated string.
a Dashifier for JavaScript that Accepts Unicode Characters ( not just ASCII chars )
It is similar to dashify package, but it can also convert other characters in addition to ASCII chars.
Install
1$ npm install dashify --save
Usage
1const dashify = require("dashify"); 2const dashifyUnicode = require("dashify-unicode"); 3 4dashify("سلام، خوبی !?"); 5//=> "" 6dashifyUnicode("سلام، خوبی !?"); 7//=> "سلام،-خوبی" 8 9 10dashify("Hello دنیا !"); 11//=> "hello" 12dashifyUnicode("Hello دنیا !"); 13//=> "hello-دنیا" 14 15/*** They are similar in English ***/ 16dashify('fooBar'); 17//=> 'foo-bar' 18dashify('fooBarBaz'); 19//=> 'foo-bar-baz' 20dashify('foo bar'); 21//=> 'foo-bar' 22dashify('foo barBaz'); 23//=> 'foo-bar-baz' 24dashify('foo barBaz quux'); 25//=> 'foo-bar-baz-quux' 26 27dashifyUnicode('fooBar'); 28//=> 'foo-bar' 29dashifyUnicode('fooBarBaz'); 30//=> 'foo-bar-baz' 31dashifyUnicode('foo bar'); 32//=> 'foo-bar' 33dashifyUnicode('foo barBaz'); 34//=> 'foo-bar-baz' 35dashifyUnicode('foo barBaz quux'); 36//=> 'foo-bar-baz-quux'
Thanks to @jonschlinkert
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Score
3
/10
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