2.0.8 • Published 3 years ago

cointavia-html-to-pdf-converter v2.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

✨ Install from the command line:

The CointaviaPDF npm package can be installed via NPM by requiring the cointavia-html-to-pdf-converter package.

npm i cointavia-html-to-pdf-converter

⭐Purchase Api Token

You can purchase api token through pdf.cointavia.com

Usage for Vue

In Vue project you can simply import CointaviaPDF after above command

Example :

import CointaviaPDF from 'cointavia-html-to-pdf-converter/CointaviaPDF'


export default {

  methods: {
    accessCointaviaApi() {
      const auth_token = "************";
      const fileName = "vueFile";
      const htmlString = "<h1>Hello</h1><p>Node Js</p>";

       CointaviaPDF.generatePDF(auth_token,fileName,htmlString)
    },


  }
}

With successfull request Cointavia Api will return following responce

{
    "status": 200,
    "success": {
        "filePath": "Path-To-Download-PDF"
    }
}

Disclaimer

All rights reserved @cointavia

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago