Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fundamentum

pavlo6725MIT2.0.5

Elementary type conversations, logging and data injection

readme

The 'fundamentum' module

const f = require('fundamentum');

Українською...

There is a working example: https://bitbucket.org/pavlo67/exemplum.

let f = require('fundamentum');

let frontPath     = 'front/';
let frontPathHttp = '/js/';
let frontFile     = 'bundle.js';
let configFile    = 'ctx.json5';
let serverParts   = [
  configFile, 
  'server', 
  'page', 
  'module1', 
  'module2',
]

f.linkAll('', serverParts, '', serverIndex => {
  f._in(['startServer'], _in => {
    f.createFront(
        serverIndex, 
        configFile, 
        'front.tmp', 
        frontPath, 
        frontPathHttp, 
        frontFile, 
        _in.startServer
    );
  });
});

Documentation

Better to read there: https://bitbucket.org/pavlo67/fundamentum.
Next links does not work if this page is viewed on NPM, it work only if the page is viewed on bitbucket.org or locally.