1.10.29282-dev.2 • Published 3 years ago

yoctolib-ts v1.10.29282-dev.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

Yoctopuce TypeScript Library

What is this library good for ?

This library provides access to Yoctopuce devices for TypeScript. It can be used with all kind of JavaScript/EcmaScript environments, including in browsers, in Node.js services and with 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.

You can choose to include the library

  • either by adding the TypeScript source files to your project (you just need a few files)
  • or by referencing the EcmaScipt Module exports, found in dist/esm
  • or by referencing the CommonJS exports, found in dist/cjs Both CommonJS and EcmaScript module directories include corresponding .d.ts definition files and .js.map sourcemap files to facilitate development.

You will find 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.

1.10.29282-dev.2

3 years ago