0.1.1 • Published 2 years ago

@myml/js-targz v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

js-targz

Preview tar.gz in the browser

HTML script

CDN

<script src="https://cdn.jsdelivr.net/npm/@myml/js-targz@0.1.0/index.js"></script>

Demo

See ./demo.html

Module import

Install

yarn add @myml/js-targz

Import

import { targz } from '@myml/js-targz'

Use

targz(files[0], (header) => {
  console.log(header);
});
targz(files[0], (header) => {
  // stop loop
  if (header.Name == "found_file") {
    return true;
  }
  console.log(header);
});
0.1.1

2 years ago

0.1.0

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago