Nomenclature Predictably Misunderstood

    prefecture-jp

    0.1.0 • Public • Published

    prefecture-jp

    NPM version Build Status Dependency Status Coverage Status

    Search the JIS/ISO code by prefecture in Japan, the prefecture by JIS/ISO code and so on.

    Install

    $ npm install --save prefecture-jp

    Usage

    var prefectureJp = require('prefecture-jp');
    var prefs = prefectureJp({ schema: prefectureJp.JIS_X_0401 });
     
    prefs.search({pref: '愛知'}, function(callback){
      callback.code;// => '23'
      callback.pref;// => '愛知県'
    });

    example

    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 gulp.

    License

    Copyright (c) 2014 sanemat. Licensed under the MIT license.

    Install

    npm i prefecture-jp

    DownloadsWeekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • sanemat