0.0.4 • Published 6 years ago
@ehsawyer/copyright v0.0.4
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 --saveOr install from Yarn with:
yarn add @ehsawyer/copyrightUsage
// 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 -gOr
yarn global add jasmineThen navigate to the package folder and run:
jasmineVersioning
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