Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ourstreets/plate-lookup-etimspayments

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ourstreets/plate-lookup-etimspayments

A library to lookup citation information in municipalities using etimspayments

  • 0.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@ourstreets/plate-lookup-etimspayments

API

Table of Contents
  • EtimspaymentsLookup
  • screenshotDOMElement

EtimspaymentsLookup

Lookup service class for municipalities using etimspayments.

Uses Puppeteer and Tesseract.js to load etimspayments powered ticket payments systems to get unpaid citations.

Parameters
  • url string The URL of the etimspayments instance
  • browser object? Puppeeteer browser instance
  • tesseractWorker object? Tesseract worker instance
initialize

Initialize the browser and tesseractWorker if needed

teardown

Close the puppeteer browser and terminate the tesseractWorker

lookup

Lookup a plate

Parameters
  • state string The state of the license plate (2 character state code)
  • number string The plate numbers and letters
  • options object the only option currently is the retryCaptcha key. specify an integer to retry on captcha errors
    • options.retry (optional, default 0)

Returns Array<Object> An array of citation objects

screenshotDOMElement

Takes a screenshot of a DOM element on the page, with optional padding.

Parameters

Returns Promise<Buffer>

FAQs

Package last updated on 14 Jan 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc