0.1.2 • Published 8 years ago
babel-plugin-gist v0.1.2
babel-plugin-gist
import from gist!!!!!!!!!!!!!
Inspire by https://github.com/akameco/babel-plugin-twitter
Install
$ yarn add --dev babel-plugin-gistUsage
.babelrc
{
"plugins": ["babel-plugin-gist"]
}Examples
import sum from 'gist:rhiokim/badfbe21fb86dbbe031cac85bdc2043a#file-sum-js'
import minus from 'gist:rhiokim/badfbe21fb86dbbe031cac85bdc2043a#file-sum-js'
console.log(sum(1, 5)) // 6
console.log(minus(5, 1)) // 4More Example?
open examples/index.js and coding! And yarn run example :)
Contributors
Thanks goes to these wonderful people (emoji key):
| akameco💻 📖 ⚠️ 🚇 | Rhio Kim💻 📖 💡 ⚠️ |
|---|
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco
0.1.2
8 years ago