Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flywire/flywire-fetch

Package Overview
Dependencies
Maintainers
6
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flywire/flywire-fetch

Flywire's fetch wrapper

  • 0.0.2-4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
Maintainers
6
Weekly downloads
 
Created
Source

flywire-fetch

Version Size

Flywire's fetch wrapper

Installation

Add the dependency to your package.json:

npm i @flywire/flywire-fetch

Usage

import fetchJson from '@flywire/flywire-fetch';

async function fetchCountries() {
  const url = `https://api.flywire.lol/v3/countries`;
  const response = await fetchJson(url);

  return response;
}

const countries = fetchCountries();

Config

KeyDescription
urlBase url. Default = null
optionsFetch options. Default = {}

Create a new release

To create a new release, make all the changes that you need and commit them, then execute:

npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]

For example:

npm version patch

This will bump the package.json version, build a new bundle, commit, push the changes tagging them to a new release and update the documentation.

Then create a PR and request the review from other project commiters. Once accepted and merged to master, execute npm publish from master branch.

Keywords

FAQs

Package last updated on 30 Jun 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc