copyright-update

1.19.0 • Public • Published

copyright-update

A simple copyright year package.

Report bug · Request feature


Table of contents

—  Quick start
—  Status
—  What's included
—  Usage
—  Quick links
—  Maintainers


Quick start

A couple quick start options are available:

—  Install with npm i copyright-update.
—  Install with yarn add copyright-update.


Status

version npm version

What's included

copyright-update is a super simple component. Within the download you'll find the following directories and files:

copyright-update
└── src/
    └── index.js

Usage

Install the package.

npm i copyright-update

In the example below, we are going to import the copyright-update component into a Footer.

import React, { Component } from 'react';
class CopyrightUpdate extends Component {
  render() {
    return (
      
© {new Date().getFullYear()}
); } } export default CopyrightUpdate;

Style the component using the CSS classname .copyright-update.

.copyright-update {
  display: inline-block;
  margin-left: .5rem;
}

Quick links

—  Go to copyright-update on GitHub.
—  Go to copyright-update on NPM.


Maintainers

Repository maintained by:

Guy Lepage
                    







By contributing your code, you agree to license your contribution under the MIT License.

Dependents (1)

Package Sidebar

Install

npm i copyright-update

Weekly Downloads

11

Version

1.19.0

License

MIT

Unpacked Size

8.44 kB

Total Files

4

Last publish

Collaborators

  • guylepage3