0.1.1 • Published 4 years ago

@candlefw/conflagrate v0.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

BRIEF

TODO - FILL THIS IN!

import {addModuleToCFW} from "@candlefw/cfw";

import {filter} from "./yielders/filter.js";

import {make_replaceable} from "./yielders/replaceable.js";

import {traverse} from "./traversers/traverse.js";

import {make_skippable} from "./yielders/skippable.js";

import {double_back_traverse} from "./traversers/double_back_traverse.js";

import {extract} from "./yielders/extract_root_node.js";

import {replace, ReplaceFunction} from "./yielders/replace.js";

import {add_parent} from "./yielders/add_parent.js";

import {bit_filter} from "./yielders/bit_filter.js";

import {
    createSourceMap,
    createSourceMapJSON,
    decodeJSONSourceMap,
    getSourceLineColumn,
    getPositionLexerFromJSONSourceMap
} from "./sourcemap/source_map.js";

import {SourceMap} from "./types/source_map.js";

import {skip_root} from "./yielders/skip_root.js";

import {
    NodeRenderer,
    FormatRule,
    buildRenderers,
    buildFormatRules,
    renderCompressed,
    renderWithFormatting,
    renderWithSourceMap,
    renderWithFormattingAndSourceMap,
    CustomFormatFunction
} from "./render/render.js";

import {copy} from "./copy.js";

export {
    copy,
    SourceMap,
    createSourceMapJSON,
    decodeJSONSourceMap,
    getSourceLineColumn,
    createSourceMap,
    getPositionLexerFromJSONSourceMap,
    skip_root,
    traverse,
    double_back_traverse,
    extract,
    filter,
    make_replaceable,
    make_skippable,
    replace,
    add_parent,
    ReplaceFunction,
    bit_filter,
    CustomFormatFunction,
    FormatRule,
    buildRenderers,
    buildFormatRules,
    renderCompressed,
    renderWithFormatting,
    renderWithSourceMap,
    renderWithFormattingAndSourceMap,
    NodeRenderer
};

addModuleToCFW(

    {

        copy,

        createSourceMapJSON,

        decodeJSONSourceMap,

        getSourceLineColumn,

        createSourceMap,

        getPositionLexerFromJSONSourceMap,

        skip_root,

        traverse,

        double_back_traverse,

        extract,

        filter,

        make_replaceable,

        make_skippable,

        replace,

        add_parent,

        bit_filter,

        buildRenderers,

        buildFormatRules,

        renderCompressed,

        renderWithFormatting,

        renderWithSourceMap,

        renderWithFormattingAndSourceMap
    },

    "conflagrate"
);

INSTALL

npm

$ npm install --save @candlefw/conflagrate

yarn

$ yarn add @candlefw/conflagrate

DOCS

Docs

CFW DEPENDENCIES

As a part of CandleFW, cfw.conflagrate relies on the following libraries to make the magic happen. The modular design of CFW allows each on to be used independently for specific project needs. Give them a look to find out more.