Quick strftime reference and REPL
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
components
styles
utils
.eslintrc
.prettierrc
CNAME
README.md
bundle.css
bundle.js
favicon.ico
index.html
index.js
package.json
reference.json
webpack.config.js
yarn.lock

README.md

strftime

This is the source of strftime.ninja. Strftime is a reference for the strftime formatting directive and a tool to format dates and times.

Use

Install dependencies

npm install -g webpack-dev-server webpack eslint
npm install

Dev

The dev script will start a server at http://localhost:8080 and compile assets on the fly:

npm run dev

You can lint the JS with:

npm run lint

Build

To prepare a deploy, run:

npm run build

This script will create a new version of index.html, bundle.css and bundle.js to be used as static assets.