Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions fli-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 },
Expand All @@ -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 },
Expand Down Expand Up @@ -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:pass@proxy.example.com:8080" }),
Expand Down
2 changes: 1 addition & 1 deletion fli-js/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down