Skip to content

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