@autheur/datasets
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@autheur/datasets

French word datasets and getters

Installation

npm i @autheur/datasets

Usage

getRandomNoun

import { getRandomNoun } from '@autheur/datasets';

const noun = getRandomNoun();
// {
//     singular: 'animal',
//     gender: 'm',
//     plural: 'animaux'
// }

getRandomAdjective

import { getRandomAdjective } from '@autheur/datasets';

const adjective = getRandomAdjective();
// {
//     femininSingular: 'blanche',
//     femininPlural: 'blanches',
//     masculinSingular: 'blanc',
//     masculinPlural: 'blancs',
// }

getRandomAdverbe

import { getRandomAdverbe } from '@autheur/datasets';

const adjective = getRandomAdverbe();
// finallement

determinants

See determinants.ts.

import { determinants } from '@autheur/datasets';

Other packages

This is a from a monorepo with the following packages:

Package Description
@autheur/dataset Dataset of sorted french words broke down by categories
@autheur/generator The generator itself with they logic
@autheur/operators Utilities to manipulate words (ex: pluralize, feminize, ...)

Credits

Coded with ❤️ by Corentin Thomasset.

License

This project is under the MIT license.

Package Sidebar

Install

npm i @autheur/datasets

Weekly Downloads

6

Version

1.0.6

License

MIT

Unpacked Size

59.9 kB

Total Files

6

Last publish

Collaborators

  • corentinth