0.1.2 • Published 5 years ago

js-devcamp-footer-kedav v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

This should be used in the folllowing manner

install with the command:

npm i devcamp-js-footer-kedav

Add to a Javascript Project using the following code:

import { footer } from 'devcamp-js-footer-kedav';
footer('some name');

'use strict';

var moment = require('moment');

/**

  • Returns a string element with a footer and updating year
  • @param {string} name
  • @return {string} */ exports.footer = function (name) { return "Copyright " + moment().format('YYYY') + " " + name + " All rights reserved"; };
0.1.2

5 years ago