Socket
Socket
Sign inDemoInstall

sdapi

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sdapi

Unofficial APIs of SpanishDict.com


Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Unofficial SpanishDict API

npm version

sdapi provides an unofficial node.js API to get translations and conjugations from SpanishDict.com.

Usage

import sdapi from 'sdapi';

sdapi.translate('libro').then(console.log);
sdapi.conjugate('hacer').then(console.log);

Or in CommonJS style:

const translate = require('sdapi').default.translate;
translate('libro').then(console.log);

Development

After cloning this repository, please run npm install to install all the development dependencies.

This project is developed using TypeScript, which means you need to compile the source code. This can be done by npm run build. Unit tests are written with Jest and can be run with npm run test.

CLI

There are two dummy simiple CLI clients bundled in this repository, sd-translate and sd-conjugate for translations and conjugations respectively.

Keywords

FAQs

Package last updated on 29 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc