Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arturi/yo-yoify-standalone
- Owner: arturi
- Created: 2017-02-27T03:46:48.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-27T04:18:22.000Z (almost 8 years ago)
- Last Synced: 2024-11-22T01:18:17.353Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 --globalcat 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')
```