Closed benhovinga closed 5 days ago
Create install and usage docs. Here is a basic setup.
npm install @benhovinga/caf-ranks
import cafRanks from '@benhovinga/caf-ranks'; cafRanks.forEach((rank) => { console.log(rank.title.en); });
const cafRanks = require('@benhovinga/caf-ranks'); cafRanks.forEach((rank) => { console.log(rank.title.en); });
Previous doc example is no longer valid since commit f38c27561142446153eacd162c56c379542349b4. Now using TypeScript instead of pure JSON.
Create install and usage docs. Here is a basic setup.
Install
Usage
Modern JS (ES6 modules)
Common JS (Node.js)