Dico.app Client.
- 🔑 Use keys seamlessly;
- 🎏 Fetch your current dico;
- 🌐 i18n support.
npm install @dico/client
Update your scripts inside your package.json
:
{
/* ... */
"scripts": {
"dev": "dico-fetch && ...",
"build": "dico-fetch && ..."
}
}
Init dico client:
import { createDico } from "@dico/client";
// Dico data file is created next to your `dico.config.json` file
import data from "../dico.data.json";
export const { $dico, $dicoI18n } = createDico(data);
To discover what's new on this package check out the changelog. For full documentation, visit the official Dico.app documentation.