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

fluentreports

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluentreports - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

demo.pdf

2

examples/demo1.js

@@ -108,3 +108,3 @@ var Report = require('../lib/fluentReports' ).Report;

console.time("Rendered");
var a= rpt.render(function(err, name) {
var a = rpt.render(function(err, name) {
console.timeEnd("Rendered");

@@ -111,0 +111,0 @@ if (err) {

@@ -14,3 +14,5 @@ var Report = require('../lib/fluentReports' ).Report;

if (options.image && fs.existsSync(options.image)) rpt.image(options.image, {width: 200});
if (options.image && fs.existsSync(options.image)) {
rpt.image(options.image, {width: 200});
}
rpt.setCurrentY(rpt.getCurrentY() - 10);

@@ -23,3 +25,3 @@

}
var baseY = rpt.getCurrentY();
//var baseY = rpt.getCurrentY();

@@ -26,0 +28,0 @@ rpt.setCurrentY(40);

@@ -6,3 +6,3 @@ var Report = require('../lib/fluentReports' ).Report;

{no: 1, date: '08-18-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 1, price: 2.21, amount: 2.21, description: "product 1", "product.product_type": 1},
{no: 1, date: '08-19-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 15, price: 4.21, amount: 15.55, description: "product 2", "product.product_type": 2},
{no: 1, date: '08-19-2014', name: "John Doe", address_1: "add 1", address_2: "addd_2", city: "city", state: 'ok', zip: '00000', qty: 15, price: 4.21, amount: 15.55, description: "product 2", "product.product_type": 2}
];

@@ -36,3 +36,3 @@

{data: r.name+' Total:', width: 130, align: 3},
{data: x.totals.amount, width: 90, align: 3},
{data: x.totals.amount, width: 90, align: 3}
], {x: 270});

@@ -39,0 +39,0 @@ x.fontNormal();

@@ -14,4 +14,4 @@ {

"main" : "lib/fluentReports",
"version" : "0.0.4",
"version" : "0.0.5",
"engines" : {"node": ">= 0.6.0" }
}

@@ -33,3 +33,3 @@ Fluent Reports

See the simple/stupid examples for a overview on how to generate a somewhat complex report.
See the simple & stupid examples for a overview on how to generate a somewhat complex report.
In these reports I tried to throw in a chunk of the kitchen sink to try and give you and

@@ -46,4 +46,1 @@ idea how powerful the engine is.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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