UNPKG

min-wage

Version:

Scrape department of labor minimum wages for all US states and territories!

44 lines (29 loc) β€’ 1.13 kB
# πŸ’Έ State Minimum Wage Scraper Scrapes official U.S. minimum wage data straight from [dol.gov](https://www.dol.gov/agencies/whd/minimum-wage/state) β€” because everyone deserves to know what they’re worth. 🫑 --- ## πŸ“¦ What is this? This is a lightweight Node.js package that: - Scrapes up-to-date state minimum wages πŸ’΅ - Lets you query wages by abbreviation (`TX`) or full state name (`Texas`) - Works great for payroll systems, dashboards, job boards, or fun weekend side projects where you're obsessing about state labor data (we don't judge) --- ## ✨ Features βœ… Real-time scraping from DOL βœ… Supports abbreviations or full state names βœ… Fun to use, minimal to set up βœ… Actually returns cents (not just dollars, like some savage) --- ## πŸš€ Usage ### Install ```bash npm install state-minimum-wage ``` ### Basic Usage ```js const { getWages, getWageByState } = require('state-minimum-wage'); // Get all wages by state abbreviation const allWages = await getWages(); console.log(allWages); // Get wage by state name const nyWage = await getWageByState('New York'); console.log(nyWage);