Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Glogster/ivan

Immutable assets
https://github.com/Glogster/ivan

Last synced: 2 days ago
JSON representation

Immutable assets

Awesome Lists containing this project

README

        

# Иван

> Immutable assets

## Installation

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

## Usage

From command line:

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

From javascript:

```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(...);
```