Skip to content

DrelezTM/node-simsimi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-SimSimi

@node-simsimi

Node-SimSimi

Unofficial SimSimi API NodeJS
It's Free!

Installation 📑

  • Install Modules
    npm i node-simsimi

How to Use 🔭

  • With Asynchronous

    • ESModule
    import simSimi from 'node-simsimi';
    
    async function main(message, language) {
      const response = await simSimi(message, language);
      console.log(response);
    }
    
    main("Hii Simi!", "en");
    • CommonJS
    const simSimi = require('node-simsimi');
    
    async function main(message, language) {
      const response = await simSimi(message, language);
      console.log(response);
    }
    
    main("Hii Simi!", "en");
  • Without Asynchronous

    • ESModule
    import simSimi from 'node-simsimi';
    
    function main(message, language) {
      simSimi(message, language).then((response) => {
        console.log(response);
      });
    }
    
    main("Hii Simi!", "en");
    • CommonJS
    const simSimi = require('node-simsimi');
    
    function main(message, language) {
      simSimi(message, language).then((response) => {
        console.log(response);
      });
    }
    
    main("Hii Simi!", "en");

Language 🏳

  • Language Support:
    • id : Indonesian
    • en : English
    • vn : Vietnamese
    • ph : Filipino
    • zh : Chinese
    • ch : Chamorro / Guam
    • ru : Russian
    • ko : Korean
    • ar : Arabic
    • ms : Malay
    • fr : French
    • ja : Japanese
    • es : Spanish
    • de : German
    • pt : Portuguese
    • ml : Malayalam
    • si : Sinhala
    • tr : Turkish
  • ⚠ Does not support other than languages/ISO 639-1 above

Response 📨

  • Example Response
    {
      message: 'Hi',
      response: 'Hallo',
      language: 'id',
      status: {
        code: 200,
        text: 'OK'
      }
    }

Built With 🛠

Error or Bug 🐞

License 📜