npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cvm-parser

v0.0.2

Published

Crawler to get CVM info by company's CNPJ

Downloads

2

Readme

Brazilian CVM info - (Comissão de Valores Mobiliários)

Crawler to get CVM info by company's CNPJ

Note: There's no official API to retrieve this data AFAIK

Example result

FundInfo {
  "type": "FI",
  "cnpj": "09.625.909/0001-00",
  "date": "2022-12-01",
  "totalVolume": "311867432.06",
  "quotaValue": "3.989299900000",
  "netAssetVolume": "310746105.31",
  "dailyFundraising": "689834.58",
  "dailyWithdraw": "730910.48",
  "numberOfShareholders": "23973"
}

Install

npm i cvm-parser

Usage

Full example

import { CVM } from 'cvm-parser';

async function main() {

  console.log(`CVM Parser - GNU GPLv3`);
  
  const cvm = new CVM();
  try {

    const cnpj: string[] = [
      '09.625.909/0001-00',
      '24.769.058/0001-62',
      '30.921.203/0001-81',
      '26.673.556/0001-32',
      '34.186.116/0001-89',
      '11.052.478/0001-81',
      '20.403.271/0001-03'
    ];

    let assets = await cvm.getDailyInfo(cnpj);
    console.log(assets)

  } catch (error) {
    console.error(error);
  }
}

main();

Disclaimer

Personal data is not stored neither used in tests

Thanks? U welcome

Consider thanking me: send a "Thanks!" 👋 by PIX 😊

a09e5878-2355-45f7-9f36-6df4ccf383cf

License

As license, this software is provided as is, free of charge, without any warranty whatsoever. Its author is not responsible for its usage. Use it by your own risk.

GNU GPLv3