Wondering what’s next for npm?Check out our public roadmap! »

    @opentranslate/sogou
    TypeScript icon, indicating that this package has built-in type declarations

    1.4.1 • Public • Published

    @opentranslate/sogou

    npm-version OpenTranslate

    Sogou translator with OpenTranslate API.

    Installation

    Yarn

    yarn add @opentranslate/sogou
    

    NPM

    npm i @opentranslate/sogou
    

    Usage

    import Sogou from '@opentranslate/sogou'
    //please refer to https://deepi.sogou.com/?from=translatepc
    const sogou = new Sogou(
        config: {
          pid: "your pid",
          key: "your key"
        }
    )
    
    sogou.translate('text').then(console.log)
    

    API

    See translator for more details.

    Disclaimer

    The material and source code from this package are for study and research purposes only. Any reliance you place on such material or source code are strictly at your own risk.

    Install

    npm i @opentranslate/sogou

    DownloadsWeekly Downloads

    3

    Version

    1.4.1

    License

    MIT

    Unpacked Size

    18.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • avatar
    • avatar