Skip to main content

Code Libraries

The Electric Imp Platform supports the addition of software libraries to both your agent and device code. Any of our libraries may be included in your code, and you can include multiple libraries. At this time, only libraries hosted by Electric Imp are available. However, all of our libraries are open source, and you can viewed, download or fork the library source from our GitHub repo.

Electric Imp’s libraries have been issued under the terms of the MIT License to allow you free usage of each library in your own code. You should understand the terms of this license before you make use any of our libraries. Some of the libraries we host are provided by third-parties, so you should check a given library’s documentation for ownership information and any special licensing terms imposed by the third-party concerned.

New additions

Library name Directive to load the current version Availability
AWS AWS Kinesis Streams

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSKinesisStreams.agent.lib.nut:1.0.0"

  • agent
Google Cloud Platform Google PubSub

#require "GooglePubSub.agent.lib.nut:1.0.0"

  • agent
Utilities Advanced Encryption Standard (AES)

#require "AES.lib.nut:1.0.0"

  • agent
  • device
MongoDB MongoDBStitch

#require "MongoDBStitch.agent.lib.nut:1.0.0"

  • agent
AWS AWS Simple Query Service

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSSQS.agent.lib.nut:1.0.0"

  • agent

Updated libraries

Library name Directive to load the current version Availability
Google Cloud Platform Google PubSub

#require "GooglePubSub.agent.lib.nut:1.0.0"

  • agent
Firebase Firebase

#require "Firebase.agent.lib.nut:3.1.1"

  • agent
Utilities ConnectionManager

#require "ConnectionManager.lib.nut:3.0.0"

  • device
Utilities Rocky

#require "rocky.class.nut:2.0.1"

  • agent
AWS AWS Kinesis Streams

#require "AWSRequestV4.class.nut:1.0.2"
#require "AWSKinesisStreams.agent.lib.nut:1.0.0"

  • agent