0.1.0 • Published 10 years ago

better v0.1.0

Weekly downloads
180
License
-
Repository
github
Last release
10 years ago

node-better

Require better for NodeJs

Usage

In PROJECT_ROOT/shared/libs/emoji:

module.exports = function() { /*...*/ }

Old way for use:

var emoji = require('../../../shared/libs/emoji')

../../../ is depend on where of your code. Or it will be ../, or it will be ../../.

New way for use:

var emoji = require('better')('shared/libs/emoji')

Just pass file path as in your project root dir.

Install

npm install better --save

API

better.path(filePath)

Will return full path of filePath.

License

MIT LICENSE

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.2-0

10 years ago

0.0.1

10 years ago

0.0.1-alpha

10 years ago

0.0.0

11 years ago