2.6.1 • Published 3 years ago

jsreport-sample-template v2.6.1

Weekly downloads
1,254
License
LGPL
Repository
github
Last release
3 years ago

jsreport-sample-template

NPM Version Build Status

jsreport extension which creates sample templates at the first run

jsreport-core

If you use jsreport-core, you can apply this extension manually and pass configuration to it directly:

var jsreport = require('jsreport-core')();
jsreport.use(require('jsreport-sample-template')({createSamples: true}));

Configuration

Use sample-template key in the standard jsreport config file.

Available options:

"extensions": {
  "sample-template": {
    /* when true, it will create defined samples*/
    "createSamples": true,
    /*
      by default samples will be created only on the first run of your jsreport installation,
      when this option is true it will allow to create the samples in the next run
      (useful when you want to install a new version of this extension and want to create the new examples that come with it)
    */
    "forceCreation": false
  }
}
2.6.1

3 years ago

2.6.0

4 years ago

2.5.1

4 years ago

2.5.0

4 years ago

2.4.0

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.0

6 years ago

2.0.0

6 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.1-beta

7 years ago

1.1.0-beta

7 years ago

1.0.2

7 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago