JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 102534
  • Score
    100M100P100Q159755F
  • License MIT

Change number to Thai pronunciation string

Package Exports

  • bahttext

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bahttext) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bahttext

Travis Codecov Version - npm License - npm semantic-release Greenkeeper badge

ภาษา: ไทย, English

เปลี่ยนตัวเลข เป็นคำอ่านภาษาไทย, โมดูลตัวนี้ได้ทำการทดสอบกับ Microsoft Office's BAHTTEXT function, Demo page เรียบร้อยแล้ว

ติดตั้ง

// ติดตั้งด้วย CommonJS
npm install bahttext
const { bahttext } = require('bahttext')

// ติดตั้งด้วย Bower
bower install bahttext
<script src="bower_components/bahttext/src/index.js"></script>

// ติดตั้งด้วย githack
<script src="https://raw.githack.com/jojoee/bahttext/master/src/index.js"></script>

// ติดตั้งด้วย ES6
npm install bahttext
import { bahttext } from "bahttext"

ตัวอย่างการใช้งาน

// หกหมื่นสามพันหนึ่งร้อยสี่สิบเจ็ดบาทแปดสิบเก้าสตางค์
bahttext(63147.89)

ฟีเจอร์

  • สามารถใช้งานได้ทุก เบราว์เซอร์
  • ทำการทดสอบแบบ unit test
  • ทดสอบบนเบราว์เซอร์ ในแต่ละ เวอร์ชั่น
  • ลดการซ้ำซ้อนของการเขียน ระหว่าง code และ ไฟล์ csv ในการทำการทดสอบ
  • หน้าตัวอย่างการใช้งาน
  • สนับสนุนการใช้งานกับตัวเลขติดลบ
  • แก้ไข semantic-release

ร่วมพัฒนา

$ npm install -g semantic-release-cli
$ semantic-release-cli setup

Using above command to setup "semantic-release"

อ้างอิง