directly require dogescript files in node
require dogescript
such node
wow
- add DSON support
npm install require-doge --save
require('require-doge');
var amaze = require('./doge.djs');
Check loaded extension:
$ node
> require('./index.js')
> require.extensions
{ '.js': [Function],
'.json': [Function],
'.node': [Function],
'.djs': [Function: compile] }
- 2.4.0 - support dogescript 2.4.0
- 0.1.6 - moved to dogescript org
- 0.1.4 - node no beauty
- 0.1.3 - fix doge
- 0.1.0 - top doge
In lieu of a formal styleguide, take care to maintain the existing doge style.
Copyright (c) 2014 Bart van der Schoor
Licensed under the MIT license.