sinoni

1.2.5 • Public • Published

Sinoni for NodeJS

Installation

npm i sinoni

Usage

const sinoni = require('sinoni');
 
sinoni({
    token: "8aee7ab77891731083d21b853d6ef12ca044beff",
    text: "Your article",
    lang: "en"
}).then(res => {
    console.log(res.rewrite); // Your rewrite
    
    // If after 5 minutes you do not get the result,
    // the check is terminated.
    console.log(res); //=> {"token": "XXX", "id": "YYY"}
}).catch(console.error);

EN: https://rewriter.tools/en/api.html

RU: https://sinoni.men/ru/api.html

2019, Sinoni

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i sinoni

    Weekly Downloads

    0

    Version

    1.2.5

    License

    MIT

    Unpacked Size

    52.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • sin0ni