Documentation for the JS SDK
- stampit provides composable Factories based on the Stamp Specification. This is how aepp-sdk approached the composition over inheritance principle.
- ES6 modules, using
- Promises using ES7 async/await syntax, where applicable
- Functional Programming using Ramda
- Statelessness wherever possible
- webpack 4 and the Babel
- Strictly enforced StandardJS
- Loose coupling of modules to enable tree-shaking
- Convention over configuration
- "Easy things should be easy, and hard things should be possible." source -- Larry Wall
- Support for
- module access, enabling tree-shaking
- direct use in node scripts through bundling
- direct use in browser
<script>tags through bundling
- bundling through webpack
aepp-sdk is compiled to EcmaScript 5 through WebPack and Babel and is expected to work in any sufficiently new version of Node.js or modern web browser.
The minimum version Node.js is still expected to work at is 8.11.
aepp-sdk is built using pnpm. In order to build a development version, issue
pnpm install pnpm run build:dev
The WebPack compilation provides two different build artifacts in
for Node.js and one for browsers. When referencing aepp-sdk through any modern
build tooling, it should pick the right one automatically through the entry
points defined in
In order to add a local development version of aepp-sdk to a project,
npm link1 can be used.