Socket
Socket
Sign inDemoInstall

@granite-elements/granite-fate-roller

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@granite-elements/granite-fate-roller

A Fate dice roller web component


Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

granite-fate-roller

A Fate dice roller

Using granite-fate-roller

To use granite-fate-roller in an element:

1. Install granite-fate-roller

Install the component using npm:

$ npm i @granite-elements/granite-fate-roller

2. Import granite-fate-roller in the element where you want to use it

Once installed, import it in your application. Usually you will simply want to import granite-fate-roller.js (wrap around spectre.css) or granite-fate-roller-min.js (wrap around spectre.min.css).

Supposing you want to import granite-fate-roller.js:

import {spectreStyles} from '@granite-elements/granite-fate-roller/granite-fate-roller.js';

3. Use the <granite-fate-roller> tag in your HTML

<granite-fate-roller skill="Flashy" bonus="2"></granite-fate-roller>

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

Keywords

FAQs

Package last updated on 13 Mar 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc