@rent-scraper/api 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ import{getValueFromConfigFile as o,getOutputPathFromConfig as i,getZipCodesFromConfig as a}from"@rent-scraper/utils/config";const t=async()=>await o("zillow","zillowCookie"),l=async()=>await o("zillow","daysListed"),e=async()=>await i("zillow"),s=async()=>await a("zillow");export{s as a,l as b,e as c,t as g};
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@rent-scraper/api",
3
+ "version": "1.0.0",
4
+ "type": "module",
5
+ "main": "./dist/index.mjs",
6
+ "module": "./dist/index.mjs",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/index.d.mts",
10
+ "default": "./dist/index.mjs"
11
+ },
12
+ "./config": {
13
+ "types": "./dist/config.d.mts",
14
+ "default": "./dist/config.mjs"
15
+ }
16
+ },
17
+ "author": "Max Stein <maxwell.stein@gmail.com> (https://maxstein.net)",
18
+ "license": "MIT",
19
+ "description": "API to scrape data from rental listings",
20
+ "files": [
21
+ "dist"
22
+ ],
23
+ "scripts": {
24
+ "build": "unbuild",
25
+ "typecheck": "tsc --noEmit",
26
+ "lint": "eslint .",
27
+ "lint:fix": "eslint --fix .",
28
+ "prepublish": "npm run lint && npm run build"
29
+ },
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "git+https://github.com/rent-brigade/rent-scraper.git",
33
+ "directory": "packages/api"
34
+ },
35
+ "dependencies": {
36
+ "@rent-scraper/utils": "workspace:*",
37
+ "axios": "^1.10.0",
38
+ "bumpp": "^10.2.3",
39
+ "cheerio": "^1.1.0",
40
+ "dayjs": "^1.11.13",
41
+ "puppeteer": "^24.11.2"
42
+ },
43
+ "devDependencies": {
44
+ "unbuild": "^3.5.0"
45
+ },
46
+ "engines": {
47
+ "node": "22.x"
48
+ }
49
+ }