Skip to content

Glogster/ivan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Иван

Immutable assets

Installation

$ npm i git+ssh://[email protected]:Glogster/ivan.git

Usage

From command line:

# to upload artifacts
$ ./node_modules/.bin/ivan

From javascript:

const ivan = require('ivan');

// to upload artifacts
ivan.artifacts(config, './assets', './docs').then(...);

// to assign variables
ivan.assign('hi, {$foo}', {foo: 'bar'});

// to assign variables in file (will modify!)
ivan.assignInFile('./template', {foo: 'bar'}).then(...);