yoctolib-cjs
TypeScript icon, indicating that this package has built-in type declarations

1.10.60394 • Public • Published

TypeScript/JavaScript library for Yoctopuce devices

(exported as a CommonJS module)

What is this library good for ?

This library provides access to Yoctopuce devices for TypeScript and JavaScript environments leveraging Node.js traditional CommonJS modules. It can be used with all kind of TypeScript, JavaScript and ECMAScript environments, including in browsers, Node.js services and Electron or similar software.

This library handles asynchronous communication with the devices using Promise objects, leveraging the new EcmaScript 2017 async / await non-blocking syntax for asynchronous I/O. The source code of this library is originally written in TypeScript.

In order to keep your package repository small, the yoctolib-cjs package only includes the transpiled files and the type definition files, for consumption as a CommonJS module.

You will find the full TypeScript source code, as well as usage examples, in the zipped library on Yoctopuce web site and on GitHub.

License information

Copyright (C) 2015 and beyond by Yoctopuce Sarl, Switzerland.

Yoctopuce Sarl (hereafter Licensor) grants to you a perpetual non-exclusive license to use, modify, copy and integrate this file into your software for the sole purpose of interfacing with Yoctopuce products.

You may reproduce and distribute copies of this file in source or object form, as long as the sole purpose of this code is to interface with Yoctopuce products. You must retain this notice in the distributed source file.

You should refer to Yoctopuce General Terms and Conditions for additional information regarding your rights and obligations.

THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE.

Package Sidebar

Install

npm i yoctolib-cjs

Weekly Downloads

68

Version

1.10.60394

License

SEE LICENSE IN LICENSE.txt

Unpacked Size

5.62 MB

Total Files

234

Last publish

Collaborators

  • yoctopuce