JSPM

imperial-date

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q41240F
  • License GPL-3.0

Returns the Imperial date (WH40k) for a given Date object.

Package Exports

  • imperial-date

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (imperial-date) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm package to display the Imperial date (Warhammer 40,000) for a given Date object.

var imperialDate = require('imperial-date');
var dateString = imperialDate(new Date());
console.log(dateString);

Output: 0 530 016.M3