{"_id":"@asogwa001/nairaland-api","_rev":"2-bcf9ab290ea0f3b796f86e007fee813a","name":"@asogwa001/nairaland-api","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@asogwa001/nairaland-api","version":"0.0.1","author":{"name":"Asogwa Emmanuel"},"license":"MIT","_id":"@asogwa001/nairaland-api@0.0.1","maintainers":[{"name":"asogwa001","email":"asogwaemmanuel36@gmail.com"}],"homepage":"https://github.com/asogwa001/nairaland-api#readme","bugs":{"url":"https://github.com/asogwa001/nairaland-api/issues"},"dist":{"shasum":"eabd5a10c67b64eb299253b05a44df1971e85ca5","tarball":"https://registry.npmjs.org/@asogwa001/nairaland-api/-/nairaland-api-0.0.1.tgz","fileCount":5,"integrity":"sha512-LMfZsHkLrEc4fxCG4L5S7AwqLzYG2ROoTfxV2Na6rTP2I4FaEfw+CaZ4QoTCgPJdkKdXzMSBDBhgkW7SCFHNtQ==","signatures":[{"sig":"MEUCIBq/dhHYgas8UK3DAZBqa96EsBK31CQOOO6iRr9fNyeSAiEAoB96LVUx8+obiKdhm3MVMhNNzwohmVcqEtS4lNkyHGQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8250},"main":"nairalandapi.js","type":"module","gitHead":"86c1d88fefc935509f0c47f29674db75fed22f29","scripts":{"example":"ex.js"},"_npmUser":{"name":"asogwa001","email":"asogwaemmanuel36@gmail.com"},"repository":{"url":"git+https://github.com/asogwa001/nairaland-api.git","type":"git"},"_npmVersion":"10.9.3","description":"API for programmatically accessing the Nairaland forum","directories":{},"_nodeVersion":"22.18.0","dependencies":{"cheerio":"^1.0.0-rc.12"},"_hasShrinkwrap":false,"devDependencies":{"playwright":"^1.55.1"},"_npmOperationalInternal":{"tmp":"tmp/nairaland-api_0.0.1_1759578732026_0.2854935338531295","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@asogwa001/nairaland-api","version":"0.0.2","description":"API for programmatically accessing the Nairaland forum","main":"nairalandapi.js","type":"module","scripts":{"example":"node ex.js"},"author":{"name":"Asogwa Emmanuel"},"license":"MIT","dependencies":{"cheerio":"^1.0.0-rc.12"},"peerDependencies":{"puppeteer-core":"^24.23.0"},"peerDependenciesMeta":{"puppeteer-core":{"optional":true}},"optionalDependencies":{"puppeteer":"^23.0.0"},"repository":{"type":"git","url":"git+https://github.com/asogwa001/nairaland-api.git"},"keywords":["nairaland","forum","scraper","api","nigeria"],"engines":{"node":">=18.0.0"},"_id":"@asogwa001/nairaland-api@0.0.2","gitHead":"b17cce9638495f6d1d11bce8eb3cdeb2017fe541","bugs":{"url":"https://github.com/asogwa001/nairaland-api/issues"},"homepage":"https://github.com/asogwa001/nairaland-api#readme","_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-cFy1+iudnvTfOuVzbDv0ralyevUPprRX56sk1KJ5vL2X+W8aWDaDYBgPOUwbitZuORm9ZVmQBI/hP4sfz8ZEmA==","shasum":"86b95bbae0fa8a3d93c0f31ecd358e6801a6208c","tarball":"https://registry.npmjs.org/@asogwa001/nairaland-api/-/nairaland-api-0.0.2.tgz","fileCount":5,"unpackedSize":13931,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDfPs9n9kxWe4nhkzGb76AUm7Z1PT29LSOFbZuJjLaKMgIgFqAU0LvzThDsxuldznon7oyiYpkyKKNvYVTUN6tQj5I="}]},"_npmUser":{"name":"asogwa001","email":"asogwaemmanuel36@gmail.com"},"directories":{},"maintainers":[{"name":"asogwa001","email":"asogwaemmanuel36@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nairaland-api_0.0.2_1759669020762_0.12010324116972892"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-04T11:52:11.968Z","modified":"2025-10-05T12:57:01.139Z","0.0.1":"2025-10-04T11:52:12.232Z","0.0.2":"2025-10-05T12:57:00.961Z"},"bugs":{"url":"https://github.com/asogwa001/nairaland-api/issues"},"author":{"name":"Asogwa Emmanuel"},"license":"MIT","homepage":"https://github.com/asogwa001/nairaland-api#readme","repository":{"type":"git","url":"git+https://github.com/asogwa001/nairaland-api.git"},"description":"API for programmatically accessing the Nairaland forum","maintainers":[{"name":"asogwa001","email":"asogwaemmanuel36@gmail.com"}],"readme":"# Nairaland API\r\n\r\nAPI for programmatically interacting with Nairaland forums.\r\n\r\n---\r\n\r\n## Installation\r\n\r\n### Option 1: Use with Existing Chrome/Chromium (Lightweight - ~2MB)\r\n\r\nIf you already have **Chrome or Chromium** installed on your system:\r\n\r\n```bash\r\nnpm install @asogwa001/nairaland-api puppeteer-core\r\n```\r\n\r\nThen, specify the Chrome executable path in your code:\r\n\r\n```js\r\nimport { NairalandAPI } from '@asogwa001/nairaland-api';\r\n\r\nconst api = new NairalandAPI({\r\n  chromePath: '/path/to/chrome' // Required when using puppeteer-core\r\n});\r\n```\r\n\r\n---\r\n\r\n### Option 2: All-in-One Installation (Includes Chromium - ~300MB)\r\n\r\nIf you don’t have Chrome installed or want a self-contained package:\r\n\r\n```bash\r\nnpm install @asogwa001/nairaland-api puppeteer\r\n```\r\n\r\nNo need to specify any path — it uses the bundled Chromium:\r\n\r\n```js\r\nimport { NairalandAPI } from '@asogwa001/nairaland-api';\r\n\r\nconst api = new NairalandAPI(); // Uses bundled Chromium\r\n```\r\n","readmeFilename":"README","keywords":["nairaland","forum","scraper","api","nigeria"]}