Gathering detailed insights and metrics for runes2
Gathering detailed insights and metrics for runes2
Gathering detailed insights and metrics for runes2
Gathering detailed insights and metrics for runes2
npm install runes2
Typescript
Module System
Node Version
NPM Version
TypeScript (74.14%)
JavaScript (25.86%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
27 Stars
409 Commits
2 Forks
2 Watchers
1 Branches
6 Contributors
Updated on Jun 09, 2025
Latest Version
1.1.4
Package Id
runes2@1.1.4
Unpacked Size
117.52 kB
Size
20.82 kB
File Count
18
NPM Version
lerna/6.6.2/node@v21.5.0+x64 (win32)
Node Version
21.5.0
Published on
Jan 29, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Unicode-aware JS string splitting with full Emoji support.
Split a string into its constituent characters, without munging emoji and other non-BMP code points.
this is typescript version fork form runes
The native String#split
implementation does not pay attention to surrogate pairs. When the code units of a surrogate pair are split apart, they are not intelligible on their own. Unless they are put back together in the correct order, individual code units will cause problems in code that handles strings.
1$ npm install runes2
1const runes = require('runes2').default 2const runes = require('runes2').runes 3import runes from 'runes2'; 4import { runes } from 'runes2';
1// Standard String.split 2'♥️'.split('') // => ['♥', '️'] 3'Emoji 🤖'.split('') // => ['E', 'm', 'o', 'j', 'i', ' ', '�', '�'] 4'👩👩👧👦'.split('') // => ['�', '�', '', '�', '�', '', '�', '�', '', '�', '�'] 5 6// ES6 string iterator 7 [ 8... 9'♥️' 10] => 11['♥', '️'] 12 [ 13... 14'Emoji 🤖' 15] // => [ 'E', 'm', 'o', 'j', 'i', ' ', '🤖' ] 16[...'👩👩👧👦'] // => [ '👩', '', '👩', '', '👧', '', '👦' ] 17 18// Runes 19runes('♥️') // => ['♥️'] 20runes('Emoji 🤖') // => ['E', 'm', 'o', 'j', 'i', ' ', '🤖'] 21runes('👩👩👧👦') // => ['👩👩👧👦'] 22
1// String.substring 2'👨👨👧👧a'.substring(1) // => '�👨👧👧a' 3 4// Runes 5runes.substr('👨👨👧👧a', 1) // => 'a'
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
8 existing vulnerabilities detected
Details
Reason
Found 0/30 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 effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-07-07
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