Skip to content

armgit / fli

Public Imported from GitHub
0

Google Flights MCP, CLI and Python Library

chore(npm): publish under scoped name @punitarani/fli (#185)

Punit Aranif63cb0569cb6
diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml
index e632c51..30ad20b 100644
--- a/.github/workflows/publish-npm.yml
+++ b/.github/workflows/publish-npm.yml
@@ -145,7 +145,7 @@ jobs:
environment:
name: npm
- url: https://www.npmjs.com/package/fli
+ url: https://www.npmjs.com/package/@punitarani/fli
steps:
- name: Setup Node.js
diff --git a/fli-js/README.md b/fli-js/README.md
index d22b62e..9a724eb 100644
--- a/fli-js/README.md
+++ b/fli-js/README.md
@@ -9,7 +9,7 @@ filter encoding, same wire-format decoders.
## Install
```bash
-bun add fli # or: npm install fli / pnpm add fli
+bun add @punitarani/fli # or: npm install @punitarani/fli / pnpm add @punitarani/fli
```
## Quick start
@@ -24,7 +24,7 @@ import {
SearchFlights,
SeatType,
SortBy,
-} from "fli";
+} from "@punitarani/fli";
const filters = new FlightSearchFilters({
passenger_info: { adults: 1, children: 0, infants_in_seat: 0, infants_on_lap: 0 },
@@ -47,7 +47,7 @@ console.log(results);
### Date-range search
```ts
-import { Airport, DateSearchFilters, FlightSegment, SearchDates } from "fli";
+import { Airport, DateSearchFilters, FlightSegment, SearchDates } from "@punitarani/fli";
const filters = new DateSearchFilters({
passenger_info: { adults: 1, children: 0, infants_in_seat: 0, infants_on_lap: 0 },
@@ -77,7 +77,7 @@ The TypeScript port uses native `fetch` (Bun's built-in) and replaces
explicit `proxy` option on `new Client({...})`).
```ts
-import { Client, SearchFlights } from "fli";
+import { Client, SearchFlights } from "@punitarani/fli";
const search = new SearchFlights(
new Client({ proxy: "http://user:[email protected]:8080" }),
diff --git a/fli-js/package.json b/fli-js/package.json
index cea5be2..7f8961a 100644
--- a/fli-js/package.json
+++ b/fli-js/package.json
@@ -1,5 +1,5 @@
{
- "name": "fli",
+ "name": "@punitarani/fli",
"version": "0.0.2",
"description": "TypeScript port of the fli library: programmatic access to Google Flights data through direct API interaction.",
"type": "module",