string-byte-length
Advanced tools
Comparing version
{ | ||
"name": "string-byte-length", | ||
"version": "1.4.1", | ||
"version": "1.5.0", | ||
"type": "module", | ||
"exports": "./build/src/main.js", | ||
"exports": { | ||
"types": "./build/types/main.d.ts", | ||
"default": "./build/src/main.js" | ||
}, | ||
"main": "./build/src/main.js", | ||
"types": "./build/src/main.d.ts", | ||
"types": "./build/types/main.d.ts", | ||
"files": [ | ||
"build/src/**/*.{js,d.ts,json}" | ||
"build/src/**/*.{js,json}", | ||
"build/types/**/*.d.ts" | ||
], | ||
@@ -49,5 +53,5 @@ "scripts": { | ||
"devDependencies": { | ||
"@ehmicky/dev-tasks": "^1.0.94", | ||
"@ehmicky/dev-tasks": "^1.0.99", | ||
"spyd": "^0.6.0", | ||
"test-each": "^5.4.1" | ||
"test-each": "^5.5.0" | ||
}, | ||
@@ -54,0 +58,0 @@ "engines": { |
@@ -1,6 +0,8 @@ | ||
[](https://codecov.io/gh/ehmicky/string-byte-length) | ||
[](/src/main.d.ts) | ||
[](https://www.npmjs.com/package/string-byte-length) | ||
[](https://twitter.com/intent/follow?screen_name=ehmicky) | ||
[](https://medium.com/@ehmicky) | ||
[](https://www.npmjs.com/package/string-byte-length) | ||
[](https://unpkg.com/string-byte-length?module) | ||
[](/types/main.d.ts) | ||
[](https://codecov.io/gh/ehmicky/string-byte-length) | ||
[](https://bundlephobia.com/package/string-byte-length) | ||
[](https://twitter.com/intent/follow?screen_name=ehmicky) | ||
[](https://medium.com/@ehmicky) | ||
@@ -33,3 +35,4 @@ Get the UTF-8 byte length of a string. | ||
This package is an ES module and must be loaded using | ||
This package works in both Node.js >=14.18.0 and browsers. It is an ES module | ||
and must be loaded using | ||
[an `import` or `import()` statement](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c), | ||
@@ -36,0 +39,0 @@ not `require()`. |
15894
2.84%186
1.64%