1.0.3 • Published 5 years ago
@ehsawyer/copyright v1.0.3
Copyright (@ehsawyer/copyright)
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