0.3.8 • Published 2 months ago

search-pdf-regex v0.3.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

Search-pdf-regex

simple pdf search with REGEX. Promised based. Inspired by simplicity. When all you want is something simple nothing complex that will lead to tears, hours on 'stuck'overflow, etc...

run:

  • returns a promise
SearchPdf(<filename>, <searchTerm>, [option])
  	.then(out => {
	 console.log(out);
	})
	.catch(err =>{
	 console.log(err);
	});

Option

  • "--help" Help menu (manpage style)
  • "--csv" Output in CSV format
  • "--bool" Outputs simple 'True' or 'False" if term is found

TODOs:

  • Output JSON format

Changelog:

  • 0.3.2 - Changed Java Version to 11 in making Jar - Formatted help menu to java 11 specs
  • 0.3.4 - now beta 'ish' - changed child processes to child_process Sync
  • 0.3.5 - Clode cleanup - Better error messages
  • 0.3.6 - Downgraded to java 8 for more broad support
  • 0.3.7 - Added Logging Options
  • 0.3.8 - Updated Async package dependency

Requires Java Version 8 or greater

Compatibility

  • Cypress
    • makes this usable for Cypress '.then()' etc when this lib is called as a 'task' - making it easy to use for a simple pdf validator

Notes:

  • this package may change at anytime, so use at own risk
  • use SpawnSync over regualar spawn due to js not wating for promise.
0.3.8

2 months ago

0.3.7

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.2

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago