dpdf-dist

pdfjs-dist修改了一点源码,获取rotate

Usage no npm install needed!

<script type="module">
  import dpdfDist from 'https://cdn.skypack.dev/dpdf-dist';
</script>

README

基于 https://github.com/mozilla/pdfjs-dist

v1.0.0

  • 说明: 基于pdfjs-dist重新创建
  • 添加了旋转角度存储在sessionStorage,本地pdf旋转之后,需要获取rotate,手签需要;
  • 注释了pdf.worker.js里面的Sign代码,以便展示签章