opencnpj 0.2.1 copy "opencnpj: ^0.2.1" to clipboard
opencnpj: ^0.2.1 copied to clipboard

A robust, pure Dart client for the OpenCNPJ API. Easily query, validate, and format Brazilian company data (CNPJ) in Flutter and Dart apps.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add opencnpj

With Flutter:

 $ flutter pub add opencnpj

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  opencnpj: ^0.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:opencnpj/opencnpj.dart';
0
likes
150
points
11
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A robust, pure Dart client for the OpenCNPJ API. Easily query, validate, and format Brazilian company data (CNPJ) in Flutter and Dart apps.

Repository (GitHub)

License

MIT (license)

Dependencies

cpf_cnpj_validator, equatable, http, json_annotation

More

Packages that depend on opencnpj