read-first-line
Version:
Read first line of the file. Works fine with LF and CRLF line endings.
43 lines (42 loc) • 912 B
JSON
{
"name": "read-first-line",
"version": "1.0.5",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"author": "Avin Lambrero",
"license": "MIT",
"files": [
"/dist",
"README.md"
],
"keywords": [
"read",
"firstline"
],
"engines": {
"node": ">= 0.10.0"
},
"repository": {
"type": "git",
"url": "https://github.com/avin/read-first-line.git"
},
"scripts": {
"test": "jest",
"lint": "eslint src/ --ext .js,.jsx,.ts,.tsx",
"prebuild": "npm run clean",
"build": "tsc",
"prepublish": "npm run build",
"clean": "rimraf dist"
},
"devDependencies": {
"@types/jest": "^26.0.23",
"@types/node": "^15.0.2",
"@typescript-eslint/eslint-plugin": "^4.22.1",
"@typescript-eslint/parser": "^4.22.1",
"eslint": "^7.26.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.6",
"typescript": "^4.2.4",
"rimraf": "^3.0.2"
}
}