esana-node-api
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "esana-node-api", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Esana News || Helakuru.lk - එසැණ News", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<img align="center" src="https://www.helakuru.lk/assets/images/icon.png" height="100px" width="100px"> | ||
<h1 align="center"><b> Helakuru.lk || එසැණ (unofficial)</b></h1> | ||
<h1 align="center"><b> Helakuru.lk || එසැණ </b></h1> | ||
<h3 align="center"><b> API - SISULA WELGAMAGE</b></h3> | ||
@@ -29,3 +29,3 @@ | ||
const latest_news = await esana_scrape({ fetch: 'latest' }) | ||
const latest_news = await esana_scrape({ fetch: 'latest' , passcode: 'your_passcode'}) // Enter Your Passcode or Contact Admin (+94766239744) | ||
console.log(latest_news) | ||
@@ -63,3 +63,3 @@ ``` | ||
const latest_news = await esana_scrape({ fetch: 'all' }) | ||
const all_news = await esana_scrape({ fetch: 'all' , passcode: 'your_passcode'}) // Enter Your Passcode or Contact Admin (+94766239744) | ||
console.log(latest_news) | ||
@@ -116,3 +116,3 @@ ``` | ||
const latest_news = await esana_scrape_from_id( { id: news_id } ) // example {id: '93782'} | ||
const latest_news = await esana_scrape_from_id( { id: news_id , passcode: 'your_passcode'}} ) // example {id: '93782'} | ||
console.log(latest_news) | ||
@@ -147,2 +147,2 @@ ``` | ||
## Disclaimer | ||
`esana - එසැණ ` name, we have nothing to do with the website officially. If any complains please contact via dev-a@sisula.ml | ||
`esana - එසැණ ` name, we have nothing to do with the website officially. If any complains please contact via dev-a@sisula.ml |
Sorry, the diff of this file is too big to display
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
245107
3673
145