
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@alpaca-travel/graph-sdk-fetch
Advanced tools
[](https://www.npmjs.com/package/@alpaca-travel/graph-sdk-fetch)[](https://www.npmjs.com/packag
A basic fetch based SDK for use in the browser.
See More:
You can use a hosted version of the SDK via unpkg.com which mirrors and hosts the release made to NPM.
Latest release
https://unpkg.com/@alpaca-travel/graph-sdk-fetch@latest/dist/umd/graph-sdk.min.js
Example pinned to version 2
You can also target a specific version in the URL, pinning the version following a semver style. This will ensure that breaking changes do not affect your implementation.
https://unpkg.com/@alpaca-travel/graph-sdk-fetch@2/dist/umd/graph-sdk.min.js
<!DOCTYPE html>
<html>
<head>
<!-- Include the script in your head -->
<script src="https://unpkg.com/@alpaca-travel/graph-sdk-fetch@latest/dist/umd/graph-sdk.min.js"></script>
</head>
<body>
<script type="text/javascript">
// Update below
const ACCESS_TOKEN = "UPDATE_WITH_YOUR_ACCESS_TOKEN";
// Create the SDK
const sdk = alpacaGraphSdk.getClientSdk({
url: `https://withalpaca.com/api/graphql?accessToken=${ACCESS_TOKEN}`,
});
// Perform a SDK function
// See the rest of the API Documentation
// https://alpacatravel.github.io/graph-sdk/packages/fetch/docs/
sdk
.getItinerary({
id: "itinerary/0mttpRn7spYNDIV979fHbE",
})
.then(({ data }) => console.log(data))
.catch(console.error);
</script>
</body>
</html>
FAQs
[](https://www.npmjs.com/package/@alpaca-travel/graph-sdk-fetch)[](https://www.npmjs.com/packag
We found that @alpaca-travel/graph-sdk-fetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.