share-snippets

A collection of code snippets that are commonly used and found on the Web


Keywords
javascript, scss, share, snippets
License
MIT
Install
npm install share-snippets@0.0.3

Documentation

share-snippets

A collection of code snippets that are commonly used and found on the web.

Use Js

new js file.

// util.js
import truncate from 'share-snippets/js/string/truncate'
import queryParse from 'share-snippets/js/url/queryParse'
export {
  truncate,
  queryParse
}

Use Scss

new scss file.

// util.scss
@import 'share-snippets/scss/flex.scss';
@import 'share-snippets/scss/grid-flex.scss';