0.36.0 • Published 4 years ago

@narando/express-expose-current-year v0.36.0

Weekly downloads
1
License
UNLICENSED
Repository
gitlab
Last release
4 years ago

@narando/express-expose-current-year

A function to get the current year and render it in templating engine.

Getting Started

You need to have nodejs, npm, express installed.

$ npm install @narando/express-expose-current-year

Usage

Get the current year at your locales to render it in mustache:

// server.js
import exposeCurrentYear from "@narando/express-expose-current-year";
import express from "express";

const app = express();
app.use(exposeCurrentYear());
app.listen(HTTP_PORT, () => {});
<!-- Template.mustache -->
<footer>
  © {{ currentYear }} XYZ GmbH
</footer>
0.36.0

4 years ago

0.35.0

5 years ago

0.34.1

5 years ago

0.34.0

5 years ago

0.33.0

5 years ago

0.32.0

5 years ago

0.31.0

5 years ago

0.30.0

6 years ago

0.29.0

6 years ago

0.28.5

6 years ago

0.28.4

6 years ago

0.28.0

6 years ago

0.27.0

6 years ago

0.26.1

6 years ago

0.25.0

6 years ago

0.24.0

6 years ago

0.22.1

7 years ago

0.22.0

7 years ago

0.21.1

7 years ago

0.18.0

7 years ago