UNPKG

niosh-01-lib-ancestor

Version:

level 01 library of niosh

40 lines 1.99 kB
const {Niosh_00_primitive,ƒxe,ƒx} = require('niosh-00-lib-primitive'); require('niosh-string-parse'); require('niosh-asyncvar'); const pkg = require("./package.json"); /** * information of module versions * @typedef NioshFrameworkVersion * @property {string} module * @property {number} level * @property {string} version * @property {object} dependencies */ class Niosh_01_ancestor extends Niosh_00_primitive { //–————————————————————————————————————————————————————————————————— informations ————————————————————————————————————————————————————— /** * return array of full informations * @returns {NioshFrameworkVersion} */ get information() { let resp = super.information; resp.push({ module: pkg.name, level: resp[resp.length-1].level + 1, version: pkg.version, dependencies: pkg.dependencies }); return resp; } //–——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————— /** * niosh-string-parse module utility */ get stringParse() { return require('niosh-string-parse/niosh.js'); } // niosh-string-parse module /** * niosh-asyncvar module utility */ get asyncvar() { return require('niosh-asyncvar/niosh.js'); } // niosh-asyncvar module }; const ƒƒ = new Niosh_01_ancestor(); module.exports={Niosh_01_ancestor,ƒƒ,ƒxe,ƒx};