Install the Activity Content package with the following command:
npm install @dsnp/activity-content
Once the Activity Content package is installed, you can access the functions like in the given example
const activityContent = require("@dsnp/activity-content")
const hashTag = activityContent.factories.createHashTag("Earth")Run npm run build
- Run
npm run docfor markdown documentation - Run
npm run doc:htmlfor HTML documentation - Run
npm run doc:jsonfor JSON documentation
To run tests, run npm run test