Skip to content

miko3k/verbos

 
 

Repository files navigation

Improved version of Fred Jehle's Conjugated Spanish Verb Database

JSON databases of 600+ conjugated Spanish verbs forming 11,000+ combinations of moods and tenses. Original work by Fred Jehle and the database orignally compiled by @ghidinelli.

This repository is a convertsion into the JSON format. It also fixes plenty of issues and adds some additional information from the original source. It's a fork, I do not intend to merge this back.

You are free to use the JSON data directly or grab the npm package.

The original database has been incorporated into a number of tools including:

Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

The npm package

Using the package is quite straightforward

// you can import individual words
import { compartir } from "verbos";

console.log(compartir.infinitivo)

// There's also a function which returns the list of all words
// orderd by importance
import { verbos } from "verbos";

console.log(verbos())

Keep in mind that:

  • The list will be ordered by importance
  • Typescript typings are included
  • Note that all javascript code is generated from the the JSON sources, the JSON is the single source of truth
  • The JSON files are also bundled in the package should you need them
  • If you are interested only in a few verbs, be careful to avoid calling verbos() as it effectively prohibits the tree shaking
  • The Typescript schema is same as JSON one, with one addtional field id, which contains the filename without .json extension
  • No dependencies!

About

A database of conjugated Spanish verbs created by Fred Jehle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%