snippet-cutter
Version:
Returns a subset of a string, composed by complete subsets found using delimeter between min and max length. If no complete subsets are found, returns a subset using length max and ellipsis.
44 lines (43 loc) • 1 kB
JSON
{
"name": "snippet-cutter",
"version": "1.0.0",
"description": "Returns a subset of a string, composed by complete subsets found using delimeter between min and max length. If no complete subsets are found, returns a subset using length max and ellipsis.",
"main": "index.js",
"scripts": {
"test": "tape test/*.js"
},
"author": "Isis T. Baulig",
"license": "MIT",
"devDependencies": {
"tape": "^5.0.1"
},
"dependencies": {
"lodash.defaults": "^4.2.0"
},
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/grindcode/snippet-cutter.git"
},
"keywords": [
"String",
"Subset",
"Snippet",
"Excerpt",
"Description",
"Substring",
"Slice",
"Parts",
"Delimeter",
"Read",
"More",
"Short",
"Shortener"
],
"bugs": {
"url": "https://github.com/grindcode/snippet-cutter/issues"
},
"homepage": "https://github.com/grindcode/snippet-cutter#readme"
}