README
Count to noun agreement
Install
$ npm install count-noun-agreement
Usage
const { countNounAgreement } = require("count-noun-agreement");
countNounAgreement(10, book, books);
//=> "10 books"
count to noun agreement
<script type="module">
import countNounAgreement from 'https://cdn.skypack.dev/count-noun-agreement';
</script>
Count to noun agreement
$ npm install count-noun-agreement
const { countNounAgreement } = require("count-noun-agreement");
countNounAgreement(10, book, books);
//=> "10 books"