Skip to content

bem-archive/bem-techs-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bem Core Tech Modules

Build Status

A set of core technology modules not included in bem-tools distribution.

Technologies included

  • bemhtml;
  • bemtree;
  • vanilla.js;
  • node.js;
  • browser.js;
  • browser.js+bemhtml;
  • html;
  • md;

Usage

  1. Install via npm:

    npm install bem-techs-core
    
  2. Configure your level.js to use technologies from a package:

    var coreTechs = require('bem-techs-core');
    
    exports.getTechs = function() {
        return {
            //your setup code
            'bemhtml': coreTechs.resolveTech('bemhtml'),
            'vanilla.js': coreTechs.resolveTech('vanilla.js')
        };
    };