1.0.3 • Published 5 years ago

@ehsawyer/copyright v1.0.3

Weekly downloads
-
License
GPL-3.0-only
Repository
github
Last release
5 years ago

Copyright (@ehsawyer/copyright)

Build Passing npm.io

forthebadge forthebadge forthebadge

A small copyright notice generating library

Getting Started

Extremely simple to use:

const copyright = require("@ehsawyer/copyright")

Installing

Installation from NPM with:

npm i @ehsawyer/copyright --save

Or install from Yarn with:

yarn add @ehsawyer/copyright

Usage

// Returns "Copyright © Ethan Sawyer 2017-2019"
copyright({
    showFullText    : true,
    symbol          : "©",
    copyrightHolder : "Ethan Sawyer",
    initialYear     : 2017,
    lastUpdatedYear : 2019
})

// Returns "© Ethan Sawyer 2019"
copyright({
    showFullText    : false,
    lastUpdatedYear : "current"
})

Running the tests

Install Jasmine with:

npm i jasmine -g

Or

yarn global add jasmine

Then navigate to the package folder and run:

jasmine

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Ethan "Chaton" Sawyer - Main Author - @ehsawyer

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago