https://github.com/fetchte/buttron
A whole new way to button /// ctr origin
https://github.com/fetchte/buttron
Last synced: 4 months ago
JSON representation
A whole new way to button /// ctr origin
- Host: GitHub
- URL: https://github.com/fetchte/buttron
- Owner: fetchTe
- License: mit
- Created: 2016-07-08T20:47:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-10T01:55:50.000Z (about 9 years ago)
- Last Synced: 2025-03-10T21:49:56.342Z (4 months ago)
- Language: CSS
- Size: 116 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# buttron
[](https://travis-ci.org/artisin/buttron)
[](https://npmjs.org/package/buttron)## About
The mythical origin of ctr. Buttron is a 3435 line Stylus program that taught me how to program quite literally. In retrospect, it was a romanticly naive endeavor, but it taught me invaluable lessons and more importantly, I think I can safely claim I've created the most sophisticated Stylus program ever to grace this earth.
## Usage
Buttron is backed by 163 tests and it's intended for novelty purposes, but you can use it as you see fit. You can either plop `buttron.styl` in your Stylus project or install it via npm and pipe it through the Stylus `.use(fn)`.
```js
var stylus = require('stylus'),
buttron = require('buttron');stylus(fs.readFileSync('./example.styl', 'utf8'))
.use(buttron())
.render(function(err, css){
if (err) return console.error(err);
console.log(css);
});
```
Best, te