al-atharnet-sdk
v1.0.0
Published
JavaScript SDK for accessing alathar.net content
Downloads
5
Readme
al-atharnet-sdk
SDK to access alathar.net content.
Installation
To install al-atharnet-sdk, use npm or yarn:
npm install al-atharnet-sdk
# or
yarn add al-atharnet-sdk
# or
pnpm i al-atharnet-sdk
Usage
Importing the SDK
import { getPage } from 'al-atharnet-sdk';
Get Page Information
Retrieve metadata about a specific page.
(async () => {
try {
const page = await getPage(23233);
console.log(page);
} catch (error) {
console.error(error.message);
}
})();