AssetChain Nodejs Shared Library
Set of shared components / libraries to help us writing node.js lambdas
npm i --save aws-sdk @assetchain/shared
Logger.createLoggeris now async and returns a promise.
// before 2.x const log = Logger.createLogger(); // after 2.x const log = await Logger.createLogger();
Set of helpers to quickly check variable types
This logger library provides an easier way to initialise execution-wide AWS loggers that will share the same metadata object within the lambda execution.
Library that provides an easier access to AWS SSM Parameter store to use it as a resilient distributed key/value storage for service discovery.
Library that correlation id support based on Open Zipkin standard
Bump the version number before merging into master.
npm login) as assetchain user (check firstname.lastname@example.org email) and publish it
npm publish --access public
Build this library using
npm build - that will run eslint + prettier checks and unit tests
The MIT License (MIT)
Copyright © 2018 AssetChain
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.