antiaris-filestampdeprecated

File stamp for antiaris

Usage no npm install needed!

<script type="module">
  import antiarisFilestamp from 'https://cdn.skypack.dev/antiaris-filestamp';
</script>

README

antiaris-filestamp

NPM version Downloads Build Status Dependency status Dev Dependency status

文件时间戳

import {filestamp, contentstamp} from 'antiaris-filestamp';

filestamp('./img/logo.png', (err, result) => {
    result//{filename: logo_e65c0a.png}
});

filestamp.sync('./img/logo.png');

contentstamp('var a=1;', 'log0.png', (err, result) => {
    result//{filename: logo_e65c0a.png}
});

contentstamp.sync('var a=1;', 'log0.png');