Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Glogster/ivan
Immutable assets
https://github.com/Glogster/ivan
Last synced: 2 days ago
JSON representation
Immutable assets
- Host: GitHub
- URL: https://github.com/Glogster/ivan
- Owner: Glogster
- Created: 2016-01-26T16:33:48.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-24T19:20:30.000Z (over 8 years ago)
- Last Synced: 2024-08-02T13:19:42.565Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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(...);
```