├── .editorconfig ├── .gitignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── README.md ├── lib ├── add.js ├── blocks │ ├── pdf-catalog.js │ ├── pdf-cross-reference-table.js │ ├── pdf-header.js │ ├── pdf-info.js │ ├── pdf-page-resources.js │ ├── pdf-page-tree.js │ ├── pdf-pages.js │ └── pdf-trailer.js ├── core-plugins │ ├── index.js │ └── text.js ├── get-content.js ├── plugin.js └── utils │ ├── format.js │ ├── to-length.js │ ├── to-reference.js │ ├── to-utc-timestamp.js │ └── unique-nr.js ├── package.json ├── pdf.js └── tests ├── index.js └── integration └── hello-world ├── fixture.pdf └── index.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | reference 3 | dist 4 | coverage 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/README.md -------------------------------------------------------------------------------- /lib/add.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/add.js -------------------------------------------------------------------------------- /lib/blocks/pdf-catalog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-catalog.js -------------------------------------------------------------------------------- /lib/blocks/pdf-cross-reference-table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-cross-reference-table.js -------------------------------------------------------------------------------- /lib/blocks/pdf-header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-header.js -------------------------------------------------------------------------------- /lib/blocks/pdf-info.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-info.js -------------------------------------------------------------------------------- /lib/blocks/pdf-page-resources.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-page-resources.js -------------------------------------------------------------------------------- /lib/blocks/pdf-page-tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-page-tree.js -------------------------------------------------------------------------------- /lib/blocks/pdf-pages.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-pages.js -------------------------------------------------------------------------------- /lib/blocks/pdf-trailer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/blocks/pdf-trailer.js -------------------------------------------------------------------------------- /lib/core-plugins/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | text: require('./text') 3 | } 4 | -------------------------------------------------------------------------------- /lib/core-plugins/text.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/core-plugins/text.js -------------------------------------------------------------------------------- /lib/get-content.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/get-content.js -------------------------------------------------------------------------------- /lib/plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/plugin.js -------------------------------------------------------------------------------- /lib/utils/format.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/utils/format.js -------------------------------------------------------------------------------- /lib/utils/to-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/utils/to-length.js -------------------------------------------------------------------------------- /lib/utils/to-reference.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/utils/to-reference.js -------------------------------------------------------------------------------- /lib/utils/to-utc-timestamp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/utils/to-utc-timestamp.js -------------------------------------------------------------------------------- /lib/utils/unique-nr.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/lib/utils/unique-nr.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/package.json -------------------------------------------------------------------------------- /pdf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/pdf.js -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- 1 | require('./integration/hello-world') 2 | -------------------------------------------------------------------------------- /tests/integration/hello-world/fixture.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/tests/integration/hello-world/fixture.pdf -------------------------------------------------------------------------------- /tests/integration/hello-world/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gr2m/dream-pdf/HEAD/tests/integration/hello-world/index.js --------------------------------------------------------------------------------