README
How to import modules from this library
These are the steps on using modules from the spacelibs-js
library.
Install
spacelibs-js
with NPMnpm install spacelibs-js
Import the module you need as a
named
importimport { BaseHTTPService, HTTPMethod } from 'spacelibs-js/core/io'
or as a
default
importimport BaseHTTPService from 'spacelibs-js/core/io/BaseHTTPService'
Generate JS Docs
To generate JSDocs pages for this package, run the following npm
command
npm run docs
This will generate docs in the /doc
directory, to view them open the /doc/index.html
file.
Run tests
To run all tests with coverage, run the following npm
command
npm run test