Socket
Socket
Sign inDemoInstall

free-svg

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    free-svg

A Free SVG (FreeSVG.org) client library for Node.js.


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Free SVG Node.js Library

A Free SVG (FreeSVG.org) client library for Node.js.

Code Style: Google

Github | NPM

Install

npm install free-svg

Usage

const {FreeSVG} = require('free-svg');

const freeSVG = new FreeSVG('FreeSVGBearerToken');

freeSVG.search({query: 'example search query'})
.then(result => {
  // Do something with the search result.
})
.catch(error =>  {
  // Request failed.
});

API

Options

  • agent - default undefined;
  • hostname - default reserve.freesvg.org; The hostname that the client connects to. Setting this may be valueable for debugging/testing or if FreeSVG changes its API address.
  • protocol - default https:;
  • port - default 443;
  • timeout - default undefined; Milliseconds before a request times out.

FAQs

Last updated on 18 May 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc