kbbi.js

1.0.6 • Public • Published

kbbi.js

Kamus Besar Bahasa Indonesia.

Installation

You can Install the package from npmjs.
Install the module with:

npm i kbbi.js

Import the module

const KBBI = require('kbbi.js')

Example Setup

const KBBI = require('kbbi.js') // import the module

KBBI.cari("pohon") // kata kunci = pohon
 .then(console.log) // respon berupa json dengan definisi pohon (kata kunci yang di cari tadi)

.catch(console.error) // jika eror, eror text akan ada di console

Events

KBBI.cari("kata kunci disini") 

Contoh Respon JSON

{
  "lema": "po.hon1 ",
  "arti": [
    "tumbuhan yang berbatang keras dan besar; pokok kayu: -- asam; -- mangga",
    "bagian yang permulaan atau yang dianggap dasar; pangkal",
    "asal mula; pokok sebab: pulang -- selamatan setahun (dua tahun dan sebagainya) sesudah orang meninggal"
  ]
}

Package Sidebar

Install

npm i kbbi.js

Weekly Downloads

10

Version

1.0.6

License

MIT

Unpacked Size

102 kB

Total Files

6

Last publish

Collaborators

  • jastinlt