amfi-database-creator
v1.1.0
Published
Creates/Updates a MongoDB database with up-to date Mutual Fund data retrieved from AMFI portal.
Downloads
17
Readme
amfi-database-creator
This package can be used for creating / updating a MongoDB database with up-to-date information about Indian Mutual Funds fetched from the AMFI portal.
Usage
(async () => {
const navDB = await (require("amfi-database-creator")).getInstance(Config.databaseUrl);
const MutualFund = navDB.MutualFund;
await navDB.updateDB();
const fund = await MutualFund.findOne();
})();