@mrhiden/cstruct
Version:
For packing and unpacking bytes (C like structures) in/from Buffer based on Object/Array type for parsing.
88 lines (87 loc) • 2.06 kB
JSON
{
"name": "@mrhiden/cstruct",
"version": "1.5.4",
"description": "For packing and unpacking bytes (C like structures) in/from Buffer based on Object/Array type for parsing.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"directories": {
"example": "examples",
"test": "tests"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testMatch": [
"<rootDir>/tests/*.test.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"scripts": {
"sandbox": "ts-node-dev --transpile-only ./examples/sandbox.ts",
"model-parser": "ts-node-dev --transpile-only ./src/model-parser.ts",
"prepublish": "tsc",
"build": "tsc",
"test": "jest",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"make:link": "npm link",
"remove:unlink": "npm r @mrhiden/cstruct -g"
},
"devDependencies": {
"@mrhiden/cstruct": "1.x",
"@types/jest": "^29.5.8",
"@types/node": "18.x",
"@typescript-eslint/eslint-plugin": "7.12.x",
"@typescript-eslint/parser": "7.12.x",
"eslint": "8.57.x",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node-dev": "^2.0.0",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MrHIDEn/cstruct.git"
},
"keywords": [
"c",
"c++",
"cpp",
"struct",
"bytes",
"buffer",
"js",
"javascript",
"ts",
"typescript",
"json"
],
"author": {
"name": "Marek Krzyżowski",
"email": "mrhiden@outlook.com",
"--comments": [
"Developed from 31.01.2019"
]
},
"license": "MIT",
"bugs": {
"url": "https://github.com/MrHIDEn/cstruct/issues"
},
"homepage": "https://github.com/MrHIDEn/cstruct#readme"
}