🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@jamify/js-client

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamify/js-client

Javascript API Client for Jamify Cloud

1.0.1
latest
Version published
Maintainers
1
Created

Javascript Client for Jamify API

This package is designed to work with the Jamify Cloud API which is not yet published. Follow us on Twitter for exciting upcoming announcements!

🚀 Quick start

  • Install the client

    yarn add @jamify/js-client
    
  • Use the client in your js/ts projects

    import { jamify } from '@jamify/js-client'
    
    const jamifyAPI = new jamify('<YOUR JAMIFY API ACCESS TOKEN>')
    
    // make an API call
    const siteId = 'your-site-id'
    const imagePath = './astronaut.png'
    
    const uploadedImage = await jamifyAPI.upload(siteId, imagePath)
    console.log(uploadedImage)
    

🔑 Jamify API Tokens

Go to your Jamify Cloud Access tab and create a new token.

Copyright (c) 2020 styxlab - Released under the MIT license.

FAQs

Package last updated on 18 Oct 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