New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

insert-text-pdf

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insert-text-pdf

CLI tool for inserting a string into multiple pdfs

latest
npmnpm
Version
1.2.1
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Prerequisites

  • Node.js installed

Getting started

  • You can use defaults for coordinates and fontsize by pressing the enter key.
  • npm install -g insert-text-pdf : It's vital that you use the -g flag as it's a tool to be used in the command line.
  • Open a shell (Powershell/cmd/bash etc)
  • insert-text-pdf insert : This is the actual command for inserting strings into the PDFs of a directory
  • Press enter and a text editor will pop up, type the string you want to insert into the pdfs in this editor, save it and then close the editor
  • Paste in the absolute path to the directory with the target PDFs
  • Enter a x coordinate to place the text at, this defaults to the middle of the page.
  • Enter a y coordinate to place the text at, this defaults to the top of the page.
  • Enter a font size for the text, this defaults to 10.
  • The processed PDFs can be found in a subdirectory inside the target directory called "parsed"
  • Profit, maybe?

Commands

insert-text-pdf insert : This command inserts a string of text specified by the user into all of the PDFs of a given directory (also specified by the user)

  • Editor: Type the string you want to insert into the PDFs in this editor, save then close it. (Can be multiline)
  • Path: Type/Paste the absolute path to the directory that contains the target PDFs

Keywords

pdf

FAQs

Package last updated on 01 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts