amfi-database-creator

1.1.0 • Public • Published

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();

})();

Readme

Keywords

Package Sidebar

Install

npm i amfi-database-creator

Weekly Downloads

2

Version

1.1.0

License

MIT

Unpacked Size

6.38 kB

Total Files

4

Last publish

Collaborators

  • harsimar