1.8.7 • Published 1 year ago
nanit-camera v1.8.7
Nanit Camera
Description
Installation
npm i --save nanit-cameraUsage
Supports both ESM and CommonJS
// esm
import nanit from 'nanit-camera'
// commonjs
const NanitClient = require('nanit-camera').NanitClient
const NanitService = require('nanit-camera').NanitServiceNanit API Service (recommended)
// esm
import { NanitService } from 'nanit-camera'
const nanitService = new NanitService()
nanitService
.start()
.then(() => {
console.log('NanitService started')
})
.catch((err) => {
console.log('NanitService start failed!')
console.error(err)
process.exit(1)
})
process.on('SIGINT', () => {
nanitService
.stop()
.then(() => {
console.log('NanitService stopped')
process.exit(0)
})
.catch((err) => {
console.log('NanitService stop failed!')
console.error(err)
process.exit(1)
})
})Nanit API Client
// esm
import { NanitClient } from 'nanit-camera'
// commonjs
const NanitClient = require('nanit-camera').NanitClient
const nanit = new NanitClient()
// nanit.login...License
MIT
1.8.2
1 year ago
1.6.4
1 year ago
1.8.1
1 year ago
1.6.3
1 year ago
1.6.2
1 year ago
1.6.0
1 year ago
1.7.3
1 year ago
1.7.2
1 year ago
1.7.1
1 year ago
1.7.0
1 year ago
1.5.1
1 year ago
1.8.7
1 year ago
1.8.6
1 year ago
1.6.8
1 year ago
1.8.5
1 year ago
1.8.4
1 year ago
1.8.3
1 year ago
1.6.5
1 year ago
1.4.5
1 year ago
1.4.4
1 year ago
1.5.0
1 year ago
1.4.3
1 year ago
1.4.2
1 year ago
1.4.1
1 year ago
1.4.0
1 year ago
1.3.5
1 year ago
1.3.4
1 year ago
1.3.3
1 year ago
1.3.2
1 year ago
1.3.1
1 year ago
1.3.0
1 year ago
1.2.9
1 year ago
1.2.8
1 year ago
1.2.7
1 year ago
1.2.6
1 year ago
1.2.5
1 year ago
1.2.4
1 year ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.13
1 year ago
1.1.12
1 year ago
1.1.11
1 year ago
1.1.10
1 year ago
1.1.9
1 year ago
1.1.8
1 year ago
1.1.7
1 year ago
1.1.6
1 year ago
1.1.5
1 year ago
1.1.3
1 year ago
1.0.1
1 year ago