UNPKG

js-partial-classes

Version:

A utility package for supplementing main classes with methods from partial classes, supporting both static and instance methods.

50 lines (49 loc) 1.27 kB
{ "name": "js-partial-classes", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": { "url": "https://github.com/prkeshri/node-partial-classes.git" }, "version": "1.1.1", "description": "A utility package for supplementing main classes with methods from partial classes, supporting both static and instance methods.", "main": "index.js", "type": "module", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "import": "./index.js" } }, "scripts": { "test": "ts-node-esm test/run-all-tests.js", "test:basic": "node test/basic.test.js", "test:supplement": "node test/supplement.test.js", "test:supplementAll": "node test/supplementAll.test.js", "test:iterateDescriptors": "node test/iterateDescriptors.test.js" }, "keywords": [ "partial-classes", "class-composition", "method-injection", "static-methods", "instance-methods", "class-extension", "javascript", "es6-modules" ], "author": "Praveen Ranjan Keshri", "license": "ISC", "engines": { "node": ">=14.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "ts-node": "^10.9.2" }, "dependencies": { "ts-import": "^5.0.0-beta.1" } }