Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
31 lines
704 B
Plaintext
31 lines
704 B
Plaintext
{
|
|
"name": "truncate-utf8-bytes",
|
|
"version": "1.0.2",
|
|
"description": "Truncate string to given length in bytes",
|
|
"main": "index.js",
|
|
"browser": "browser.js",
|
|
"scripts": {
|
|
"test": "tape test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/parshap/truncate-utf8-bytes.git"
|
|
},
|
|
"keywords": [
|
|
"truncate",
|
|
"utf8"
|
|
],
|
|
"author": "Carl Xiong <xiongc05@gmail.com>",
|
|
"license": "WTFPL",
|
|
"bugs": {
|
|
"url": "https://github.com/parshap/truncate-utf8-bytes/issues"
|
|
},
|
|
"homepage": "https://github.com/parshap/truncate-utf8-bytes#readme",
|
|
"devDependencies": {
|
|
"tape": "^4.2.2"
|
|
},
|
|
"dependencies": {
|
|
"utf8-byte-length": "^1.0.1"
|
|
}
|
|
}
|