0.0.4 • Published 9 years ago

gengojs-default-localize v0.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

gengojs-default-localize

The default localisation plugin for gengojs

Build Status

This module is a "plugified" version of Tokei for gengo.js.

Documentation

See documentation or see Tokei.

An example usage with options is:

var gengo = require('gengojs');
var localize = require('gengojs-default-header');

/* In whatever framework you are using: */

// I'll use express for an example
// but it shouldn't matter

var app = require('express')();
app.use(gengo({
   // Specify the type
   // of option to modify
	localize:{
		/* options */
	}
},/*localize()*/));

The default localize is already included in gengojs so you should not have to require it.

Options

None

Internal API

For more documentation, visit the Tokei.

Dependencies

  • this.header.getLocale() from Header class
    • Should return the current locale.

Debug

Not Applicable

Contribute

Feel free to contribute or even fork the project. This plugin has been written in ES6 and can be seen under lib/index.js. If you would like to contribute to the localization library, visit Tokei's GitHub page.

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.1-beta.3

9 years ago

0.0.1-beta.2

9 years ago

0.0.1-beta.1

9 years ago