open-index/open-npm huggingface dataset:
npm package: @imakira/espoir
Description: [![img](https://nodei.co/npm/@imakira/espoir.png)](https://www.npmjs.com/package/@imakira/espoir)
Latest version: 1.0.0

[![img](https://nodei.co/npm/@imakira/espoir.png)](https://www.npmjs.com/package/@imakira/espoir)  


# [Espoir](https://github.com/imakira/espoir) - A Command Line French to English Dictionary

> espoir means "hope" in French.  

[espoir.png](https://github.com/imakira/espoir/blob/main/screenshots/espoir.png?raw=true)  


## Installing


### Using npm

```bash
npm -g @imakira/espoir@latest
espoir espoir
```


### Using Nix

```bash
nix run github:imakira/espoir -- espoir
```


## Usage

```bash
Usage: espoir [options] words
Options: 
  -h, --help              [default]  Show help messages
  -g, --conjugation       false      Get conjugations of a verb
  -s, --short             false      Show results in a more concise format, omitting some information.
  -a, --all               false      Show all translation sections (only principal translations are shown by default)
  -N, --no-inflections    false      Don't show inflection sections
  -f, --fr-to-en          false      Force French to English lookup
  -e, --en-to-fr          false      Force English to French lookup
  -I, --inflections-only  false      Only show inflection sections
  -n, --no-color          false      Disable ascii color output, env NO_COLOR is also supported
```


## TODO 

-   [DONE] English to French Support
-   [DONE] Conjugations of a Verb
-   [DONE] builtin caching


## Screenshots


### Inflections Section

![img](https://github.com/imakira/espoir/blob/main/screenshots/inflections.png?raw=true)  


### Concise Format

![img](https://github.com/imakira/espoir/blob/main/screenshots/concise.png?raw=true)  


### English to French

![img](https://github.com/imakira/espoir/blob/main/screenshots/en-to-fr.png?raw=true)  


### Conjugations

```bash
espoir -g croître # part of the result
```

![img](https://github.com/imakira/espoir/blob/main/screenshots/conjugations.png?raw=true)  


## Contribution

If you encountered any issue, feel free to fire an issue at <https://github.com/imakira/espoir/issues>.  

If you find this little tool useful, I will really appreciate if you can give the project a star.  

If you want to experiment with the code, check the [develop.org](https://github.com/imakira/espoir/blob/main/develop.org)