Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
nfc-jsclient
Advanced tools
[![Build Status](https://circleci.com/gh/taglme/nfc-jsclient.svg?style=shield)](https://circleci.com/gh/taglme/nfc-jsclient) [![codecov](https://codecov.io/gh/taglme/nfc-jsclient/branch/master/graph/badge.svg)](https://codecov.io/gh/taglme/nfc-jsclient) [
Official open-source Javascript SDK library for Taglme Desktop. Quick and efficient way to connect applications with NFC REST API server.
This SDK is intended to use in conjunction with Taglme Desktop REST API server. It is a thin API wrapper. The main goal of the SDK is to handle requests complexity by hiding unnecessary details.
SDK consist of several folders
If you encounter a bug with the SDK for Javascript we would like to hear about it. Search the existing issues and see if others are also experiencing the issue before opening a new issue. Please include the version of SDK for Javascript, and OS you’re using. Please also include reproduction case when appropriate.
The GitHub issues are intended for bug reports and feature requests. For help and questions with using SDK for Javascript please make use of the resources listed in the Reference Documentation section. Keeping the list of open issues lean will help us respond in a timely manner.
npm install nfc-jsclient
Extended examples in /example folder
import NfcClient from "nfc-jsclient"
//Create new API client
url = "127.0.0.1:3011" // url of the hosted API
locale = "en" // preferred locale to be set on the BE side
client = NfcClient.New(url, locale)
// Request to get About info
client.About.get().then(a => {
console.log('about info name: ', a.name) // Print received About.Name
});
// Initialize the WS connection
client.WsService.Connect()
const eHandler = (e) => {
// handle the received event
}
client.WsService.onEvent(eHandler)
yarn
– install dependencies
yarn
automatically running postinistall
scriptyarn build
– Run typescript
compiler to build distributive files
yarn lint
– Run eslint
to verify proper code style
postinstall
– Run yarn build && yarn lint --fix && yarn test
yarn build-example
– Run webpack
to build example html + index.ts
yarn serve-example
– Run simple static http-server
from dist/example
folder
example
– Run yarn && yarn build-example && yarn serve-example
This SDK is distributed under the MIT license
FAQs
[![Build Status](https://circleci.com/gh/taglme/nfc-jsclient.svg?style=shield)](https://circleci.com/gh/taglme/nfc-jsclient) [![codecov](https://codecov.io/gh/taglme/nfc-jsclient/branch/master/graph/badge.svg)](https://codecov.io/gh/taglme/nfc-jsclient) [
The npm package nfc-jsclient receives a total of 0 weekly downloads. As such, nfc-jsclient popularity was classified as not popular.
We found that nfc-jsclient demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.