New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hybridxweb/copyright-x

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

@hybridxweb/copyright-x

A simple copyright component which will set year by default if not provided

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

Version Documentation Maintenance License: MIT

A lib for web components(custom components) by hybridx

Demo

Run tests

npm run test

Usage

Install hybridx webcomponents

  • Use npm package manager to install components
npm install --save copyright-x
  • Include component
import '@hybridxweb/copyright-x/dist/copyright-x';
  • Usage
<copyright-x></copyright-x>

<copyright-x>
  <span slot="name">hybridX</span>
</copyright-x>

<copyright-x year="2020">
</copyright-x>

To use it in React

<script>
require('~/node_modules/@hybridxweb/copyright-x/dist/copyright-x);
</script>

<copyright-x></copyright-x>

<copyright-x>
  <span slot="name">hybridX</span>
</copyright-x>

<copyright-x year="2020">
</copyright-x>

To use it in Angular

  • Install and import the component in app.module and add CUSTOM_ELEMENT_SCHEMA
import '@hybridxweb/copyright-x/dist/copyright-x';
@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
  ],
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Using style API

  • Pass using css variables
<style>
  copyright-x {
    --fontSize: 1rem;
    --fontColor: #72767B;
  }
</style>

Author

👤 Deepesh Nair

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Deepesh Nair.

This project is MIT licensed.


Keywords

FAQs

Package last updated on 30 May 2020

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