Gathering detailed insights and metrics for @lrnwebcomponents/simple-colors-shared-styles
Gathering detailed insights and metrics for @lrnwebcomponents/simple-colors-shared-styles
Monorepo of webcomponents and associated microservice apis
npm install @lrnwebcomponents/simple-colors-shared-styles
Typescript
Module System
Node Version
NPM Version
JavaScript (87.03%)
HTML (11.74%)
CSS (1.06%)
Shell (0.14%)
PHP (0.03%)
Total Downloads
129,059
Last Day
6
Last Week
101
Last Month
247
Last Year
6,589
250 Stars
7,605 Commits
87 Forks
26 Watching
21 Branches
28 Contributors
Minified
Minified + Gzipped
Latest Version
8.0.2
Package Id
@lrnwebcomponents/simple-colors-shared-styles@8.0.2
Unpacked Size
119.50 kB
Size
21.98 kB
File Count
17
NPM Version
lerna/4.0.0/node@v20.11.0+x64 (linux)
Node Version
20.11.0
Publised On
29 Feb 2024
Cumulative downloads
Total Downloads
Last day
200%
6
Compared to previous day
Last week
29.5%
101
Compared to previous week
Last month
19.3%
247
Compared to previous month
Last year
-82.4%
6,589
Compared to previous year
Colors
shared styles for simple-colors
To use this web component in your project you can utilize one of the following styles of syntax.
1/* In an existing JS module / web component */ 2import '@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js'; 3/* At top of an application with build routine */ 4<script type="module" src="@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js"></script> 5/* Alternatives for top of application */ 6<script type="module"> 7 import '@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js'; 8 // imperative form 9 import {SimpleColorsSharedStyles} from '@lrnwebcomponents/simple-colors-shared-styles'; 10 // if you don't have a build routine and need to reference directly 11 import './node_modules/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js'; 12</script> 13// via unpkg CDN (good for testing) 14<script type="module" src="https://unpkg.com/@lrnwebcomponents/simple-colors-shared-styles/simple-colors-shared-styles.js"></script>
Run yarn start
will start a local development server, open your default browser to display it, open your finder to the correct window and start watching the /src
directory for changes and automatically rebuilding the element and documentation site for the demo.
1$ yarn start
1$ yarn run test
Builds ensure that wcfactory can correctly compile your web component project to work on the maximum number of browsers possible.
1$ yarn run build
git clone https://github.com/elmsln/lrnwebcomponents.git
git checkout -b my-new-feature
git commit -m 'Add some feature'
git push origin my-new-feature
Colors (and all lrnwebcomponents) use Prettier to auto-format JS and JSON. The style rules get applied when you commit a change. If you choose to, you can integrate your editor with Prettier to have the style rules applied on every save.
No vulnerabilities found.
No security vulnerabilities found.