nbcs-helpers

0.1.71-alpha.1 • Public • Published

helpers

nbcs-helpers are reuseable functions that can be called within other components (e.g. Molecules/Organisms)

Available helpers to date:

  • LocalStorage::useStorage - Helper to use browser's local storage
  • SliderHelper.js - Slick Carousel wrapper
  • VideoHelper.js - MPX Video wrapper used for ShortFormVideos

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Usage

Example

import { useStorage } from 'nbcs-helpers';

export default {
  setup(props) {
    …
    const storage = useStorage();
    …
  }
}

Customize configuration

See Configuration Reference.

Readme

Keywords

none

Package Sidebar

Install

npm i nbcs-helpers

Weekly Downloads

1

Version

0.1.71-alpha.1

License

none

Unpacked Size

108 kB

Total Files

20

Last publish

Collaborators

  • nbcs.jenkins