Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arturi/yo-yoify-standalone

transform choo, yo-yo, or bel template strings into pure and fast document calls, without Browserify
https://github.com/arturi/yo-yoify-standalone

Last synced: 19 days ago
JSON representation

transform choo, yo-yo, or bel template strings into pure and fast document calls, without Browserify

Awesome Lists containing this project

README

        

# yo-yoify-standalone

Useful when you want to use [yo-yoify](https://github.com/shama/yo-yoify) to

> transform choo, yo-yo, or bel template strings into pure and fast document calls.

but can’t, or don’t want to, use browserify.

I run this before running Babel transforms. See also: https://github.com/goto-bus-stop/babel-plugin-yo-yoify

# Usage

## CLI

```sh
npm install yo-yoify-standalone --global

cat src/file.js | ./yoyoify-standalone.js > lib.yoyoified/file.js
```

## In a module

```sh
npm install yo-yoify-standalone --save
```

```js
var yoyoify = require('yo-yoify-standalone')

yoyoify('src/script.js', 'dist/script.js')
```