An open API service indexing awesome lists of open source software.

https://github.com/renddslow/gender-pronoun-parser

A simple parser for gender-pronoun strings.
https://github.com/renddslow/gender-pronoun-parser

javascript nodejs pronouns

Last synced: 2 months ago
JSON representation

A simple parser for gender-pronoun strings.

Awesome Lists containing this project

README

        

# Gender Pronoun Parser

A simple parser for gender-pronoun strings. Given an input of "subjective/objective/possessive" the parse returns a JS object:

```
{
subjective,
objective,
possessive,
}
```

The library also comes with "he/him/his" and "she/her/hers" built in, accessed by passing `he` and `she` respectively in as inputs.

## Usage

```
import pronounParser from 'gender-pronoun-parser';

const pronouns = pronounParser('they/them/their')
```