Socket
Socket
Sign inDemoInstall

jekyll-store-favourites

Package Overview
Dependencies
69
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    jekyll-store-favourites

Favourite products/wish list plugin for Jekyll-Store Engine


Version published
Weekly downloads
6
increased by500%
Maintainers
1
Install size
254 kB
Created
Weekly downloads
 

Readme

Source

Jekyll-Store/Favourites

Build Status

Favourite products/wish list plugin for Jekyll-Store Engine.

Actions

favourite

Adds product to the favourites list.

Args:

  • name - Name of the product.

Example:

JekyllStoreEngine.Actions.favourite({ name: 'bag' });

removeFromFavourites

Remove product from the favourites list.

Args:

  • name - Name of the product.

Example:

JekyllStoreEngine.Actions.removeFromFavourites({ name: 'bag' });

FavouritesStore

The products that have been favourited.

Example output:

{
  favourites: Immutable({
    'Jumper': { name: 'Jumper', price: 24.30 },
    'Cardigan': { name: 'Cardigan', price: 21.45 },
    'Pullover': { name: 'Pullover', price: 13.90 }
  })
}

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

FAQs

Last updated on 18 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc