Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Fixed "Custom human" example in README (#27)
Browse files Browse the repository at this point in the history
Fixed "Custom human" example in README
  • Loading branch information
pksunkara authored Dec 10, 2019
2 parents 816ecae + 4d62cfe commit da50027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ inflect.singularize('guys'); // === 'person'

```js
inflect.inflections.human(/^(.*)_cnt$/i, '$1_count');
inflect.inflections.humanize('jargon_cnt'); // === 'Jargon count'
inflect.humanize('jargon_cnt'); // === 'Jargon count'
```

### Custom uncountable
Expand Down

0 comments on commit da50027

Please sign in to comment.