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

@tng/gta

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tng/gta

TNG GTA ==============

  • 1.0.2
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
5
Weekly downloads
 
Created
Source

TNG GTA

安装

yarn add @tng/gta

使用

const GTA = require('@tng/gta')
const gta = new GTA({url:'https://gta.teambition.net/v1/track/'})

// get方法
// @return promise
console.log(yield gta.get({ param: 'abc' }))  
// {event: 1}

// post方法
// @return promise
console.log(yield gta.post({ param: 'abc' }))
// {event: 1}


// 指定 options
const gta = new GTA()
const options = { url: 'https://gta.teambition.net/v1/track/' }
console.log(yield gta.get({ param: 'abc' }, options))

FAQs

Package last updated on 06 Jul 2018

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