No Problem, Meatbag

    knots

    1.0.0 • Public • Published

    Knots

    Tests Status

    Example

    const Knots = require('knots');
    const knots = new Knots();
     
    knots.tie('base', () => [require('./partials/header.js'), require('./partials/footer.js']);
    knots.tie('page:contact', () => [require('./pages/contact.js')]);
     
    knots.run(['base']);

    header.js

    module.exports = function HeaderPartial() {
        // stuff
     
        return () => {
            // onload
        }
    }

    Keywords

    Install

    npm i knots

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • brudil