Getting Started โ
Installation โ
Install the package using npm:
bash
npm install @mherod/get-cookie
Or using yarn:
bash
yarn add @mherod/get-cookie
Or using pnpm:
bash
pnpm add @mherod/get-cookie
Basic Usage โ
Using the CLI โ
The simplest way to get started is using the CLI:
bash
npx @mherod/get-cookie --domain github.com
Using in Code โ
typescript
import { getCookie } from "@mherod/get-cookie";
async function example() {
const cookies = await getCookie({
domain: "github.com",
});
console.log("Found cookies:", cookies);
}
Next Steps โ
- Check out the API Reference for detailed documentation
- Learn about browser-specific features
- Explore advanced configuration options