Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nfce-json

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nfce-json

Loader and parser of the Brazilian NFCe data as JSON

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

nfce-json

Loader and parser of the Brazilian NFCe data as JSON.

Install

npm install nfce-json

Usage

var NFCE 		= require("nfce-json").NFCE;

//Loads the desired NCFe code for the given Brazillian state.
NFCE.load("nfce-code-here","rs",
function(p_json,p_err)
{
	var json_str = JSON.stringify(p_json,null," ");
	var fs = require("fs");
	fs.writeFileSync("output.json",json_str);
	console.log(p_json);
});

Caveats

Only available for the RS state for now.

FAQs

Package last updated on 05 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc