0.2.5 • Published 4 months ago

sdapi v0.2.5

Weekly downloads
-
License
BSD-3-Clause
Repository
-
Last release
4 months ago

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.

0.2.5

4 months ago

0.2.4

4 months ago

0.2.3

2 years ago

0.2.2

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago