UNPKG

fingerslug

Version:

Fingerslug is a tool to generate a slugged and fingerprinted filename based on an input.

11 lines (7 loc) 299 B
# Fingerslug Fingerslug is a simple utility that takes in a file name and outputs a slugged and fingerprinted version of the name. ## Usage ```javascript const fingerSlug = require("fingerslug"); fingerSlug("Hello World.docx"); // Gives back Hello-World-e177bc5a5fda481f96404a44001d3ec2.docx ```