Nth Permutation Mathematics

    bemdecl-to-fs

    0.0.4 • Public • Published

    bemdecl-to-fs

    Finds files that satisfy the provided bemdecl.

    Usage

    Promise API:

    const bemdeclToFs = require('bemdecl-to-fs');
     
    const bemdecl = [{block: 'a'}];
    const levels = ['blocks'];
    const techs = ['css', 'js'];
     
    bemdeclToFs(bemdecl, levels, techs)
      .then(files => console.log(files));

    Common API:

    const bemdeclToFs = require('bemdecl-to-fs');
     
    const bemdecl = [{block: 'a'}];
    const levels = ['blocks'];
    const techs = ['css', 'js'];
     
    bemdeclToFs(bemdecl, levels, techs, (er, files) => {
      if (er) {
        throw er;
      }
     
      console.log(files);
    });

    Keywords

    Install

    npm i bemdecl-to-fs

    DownloadsWeekly Downloads

    9

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • sullenor