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

@knagyorg/ttlock-api

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@knagyorg/ttlock-api

TTLock API

0.0.19
latest
Source
npm
Version published
Maintainers
1
Created
Source

TTLock API

Installation

  • Run npm install after cloning the repository
  • Run npm run build to build this package
  • Install the package from your another project, run npm i <path-to-this-package-folder>

Usage

  • Create Client
import { createClient } from 'ttlock-api'

const client = createClient({
  baseUrl: '',
  clientId: '',
  clientSecret: ''
})
  • Use The APIs, one for example
client.lock.init({
  accessToken: '',
  date: 0,
  lockData: ''
}).then(response => {

  // Do something after getting the response
  
})
  • You can also import the types when you need to
import { UserType } from 'ttlock-api'

FAQs

Package last updated on 17 Oct 2023

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