|
12 years ago | |
---|---|---|
.. | ||
lib | 12 years ago | |
test | 12 years ago | |
.npmignore | 12 years ago | |
README.md | 12 years ago | |
grunt.js | 12 years ago |
README.md
{%= name %}
{%= description %}
Getting Started
On the server
Install the module with: npm install {%= name %}
var {%= js_safe_name %} = require('{%= name %}');
{%= js_safe_name %}.awesome(); // "awesome"
In the browser
Download the [production version][min] or the [development version][max].
[min]: https://raw.github.com/{%= git_user %}/{%= git_repo %}/master/dist/{%= name %}.min.js [max]: https://raw.github.com/{%= git_user %}/{%= git_repo %}/master/dist/{%= name %}.js
In your web page:
<script src="dist/{%= name %}.min.js"></script>
<script>
awesome(); // "awesome"
</script>
In your code, you can attach {%= name %}'s methods to any object.
<script>
this.exports = Bocoup.utils;
</script>
<script src="dist/{%= name %}.min.js"></script>
<script>
Bocoup.utils.awesome(); // "awesome"
</script>
Documentation
(Coming soon)
Examples
(Coming soon)
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.
Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!
Release History
(Nothing yet)
License
Copyright (c) {%= grunt.template.today('yyyy') %} {%= author_name %}
Licensed under the {%= licenses.join(', ') %} license{%= licenses.length === 1 ? '' : 's' %}.