Skip to content
/ lafzi.js Public

Just another library for searching AlQuran verse using latin pronunciation

License

Notifications You must be signed in to change notification settings

lafzi/lafzi.js

Repository files navigation

Lafzi.js

Setup

yarn add lafzi.js
# OR npm install lafzi.js

Options

{
  query: 'kunfayakun',
  mode: 'v', // "v", "nv"
  threshold: 0.95, // 0.3 - 0.95
  isHilight: true, // Boolean
  multipleHighlightPos: false, // Boolean
}

Usage

import Lafzi from 'lafzi.js' // commonjs
// import Lafzi from 'lafzi.js/dist/index.esm' // es module
const opt = {
    query: 'kunfayakun'
}
Lafzi(opt).then((res) => {
    console.log(res)
})

Example

https://repl.it/@sprabowo/lafzijs-demo

License

MIT

About

Just another library for searching AlQuran verse using latin pronunciation

Resources

License

Stars

Watchers

Forks

Packages

No packages published