notation
The official notation used in gengo.js
Documentation
See documentation
Usage
;var text = 'Hello world!'; var phrase = text;// -> { type: 'phrase', key: 'Hello world!, seek: undefined } text = '[Hello world!]'; var bracket = text;// -> { type: 'bracket', key: 'Hello world!, seek: undefined } text = '[Hello world!].informal'; bracket = text;// -> { type: 'bracket', key: 'Hello world!, seek: 'informal' } text = 'hello.world'; var dot = text; // -> { type: 'dot', key: 'hello.world', seek: undefined' }
Contribution
Simply fork the project and create a pull request to enhance this project!