1.9.2 • Published 5 years ago

iotellnodelib v1.9.2

Weekly downloads
-
License
UNLICENSED
Repository
bitbucket
Last release
5 years ago

README

This is a basic library which is used in IoTell nodejs projects. It is programmed in TypeScript.

How do I set it up?

  • Installation: 'npm i iotellnodelib'
  • Run: 'npm install' to install dependencies

How do I use it?

  • Function libraries are all accessible through the object named 'lib'. It contains the following properties:
    • array: Array library
    • date: Date library
    • enum: enum library
    • id: id library
    • logger: logging library
    • object: object library
    • rejectPromise: promise rejection library
    • regexp: regExp library
    • schema: JSON schema library
    • string: string library
  • Classes are accessible by their class names:
    • Logger : Logger class
    • Message : Different types of messages which are used for logs and request-responses. For promise-rejections please use lib.rejectPromise.
    • MyError : Standard iotell error class.
    • BadRequestError : Returns an 400 Error
  • Special enums:
    • HttpMethod: A httpmethod enum of methods which we use in the project.
    • HttpCodes : A list of http codes.

Development

  • Start development: npm run buildw
  • Running tests : npm run test
1.9.1

5 years ago

1.9.2

5 years ago

1.9.0

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.0

6 years ago

1.6.0

6 years ago

1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago