open-index/open-npm huggingface dataset:
npm package: @janpio/cross-zip
Description: Cross-platform .zip file creation
Author: toyobayashi
Latest version: 3.1.0

# cross-zip

[![Build status](https://travis-ci.com/toyobayashi/cross-zip.svg?branch=master)](https://travis-ci.com/toyobayashi/cross-zip/)

Fork from [https://github.com/feross/cross-zip](https://github.com/feross/cross-zip)

Cross-platform .zip file creation

## Install

```
npm install @tybys/cross-zip
```

## Usage

### JavaScript

``` js
const path = require('path')
const crossZip = require('@tybys/cross-zip')

const input = path.join(__dirname, 'myFolder') // folder to zip
const output = path.join(__dirname, 'myFile.zip') // name of output zip file

crossZip.zipSync(input, output)
```

### TypeScript

``` ts
import * as path from 'path'
import * as crossZip from '@tybys/cross-zip'

const input = path.join(__dirname, 'myFolder') // folder to zip
const output = path.join(__dirname, 'myFile.zip') // name of output zip file

crossZip.zipSync(input, output)
```

## API

### `crossZip.zip(input, output [, includeBaseDirectory])`

Zip the folder or file at `input` and save it to a .zip file at `output`. 

`includeBaseDirectory`: `true` to include the directory name from `input` at the root of the archive; `false` to include only the contents of the directory.

Return `Promise<number>` (size of archive).

### `crossZip.zipSync(input, output [, includeBaseDirectory])`

Sync version of `crossZip.zip`.

### `crossZip.unzip(input, output)`

Unzip the .zip file at `input` into the folder at `output`. Return `Promise<void>`.

### `crossZip.unzipSync(input, output)`

Sync version of `crossZip.unzip`.

## Windows users

This package requires [.NET Framework 4.5 or later](https://www.microsoft.com/net)
and [Powershell 3](https://www.microsoft.com/en-us/download/details.aspx?id=34595).
These come **pre-installed** on Windows 8 or later.

On Windows 7 or earlier, you will need to install these manually in order for
`cross-zip` to function correctly.

## Reference

- [Stack Overflow - zipping from command line in Windows](https://stackoverflow.com/questions/17546016/how-can-you-zip-or-unzip-from-the-command-prompt-using-only-windows-built-in-ca)

## License

MIT.
npm package: @janpio/cross-zip-cli
Description: Zip directories cross platform from the CLI (without including the base directory).
Author: JP Richardson
Latest version: 0.0.4

@janpio/cross-zip-cli
=============

[![npm][npm-image]][npm-url]
[![standard][standard-image]][standard-url]

[npm-image]: https://img.shields.io/npm/v/@janpio/cross-zip-cli.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@janpio/cross-zip-cli
[travis-url]: https://travis-ci.org/jprichardson/cross-zip-cli
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square
[standard-url]: http://npm.im/standard

Zip/Unzip directories cross platform from the CLI (without including the base directory). Great for npm scripts. Built on [@tybys/cross-zip](https://github.com/toyobayashi/cross-zip). Fork of [cross-zip-cli](https://github.com/jprichardson/cross-zip-cli)

## Why?

This is really useful for zipping/unzipping in your npm scripts that should run on cross-platform.


## Install

```
npm install -g cross-zip-cli
```

## Usage

### cross-zip

```
cross-zip [options] inputDir [zipFile]

  Zips a directory.

Examples:

  cross-zip /tmp/data
  cross-zip /tmp/data /tmp/data-reports.zip

Options:

  --help This message that you're viewing.
  --version The version.
```

### cross-unzip

```

  cross-unzip [options] zipFile outputDir

    Unzips a file.

  Examples:

    cross-unzip /tmp/data-reports.zip /tmp/data

  Options:

    --help This message that you're viewing.
    --version The version.

```

## Related
- Built on [@tybys/cross-zip](https://github.com/toyobayashi/cross-zip): npm module this is built on.
- [cross-zip-cli](https://github.com/jprichardson/cross-zip-cli): package this fork is based on.
- [cross-zip][cross-zip]: npm module the parent is based on.

## License

[MIT](LICENSE.md)


[cross-zip]: https://github.com/feross/cross-zip
npm package: @janribkaui/core-downloads-tracker
Description: Internal package to track number of downloads of our design system libraries
Author: Jan Ribka
Latest version: 1.5.1

# @janribkaui/core-downloads-tracker

This package does not contain any code.
It is used solely to track number of downloads of @janribkaui/material-ui-tailwind
Counting downloads is done by npm (as for every other package).
npm package: @janribkaui/envinfo
Description: Logs infos about the environment relevant to @janribkaui/*
Author: Jan Ribka
Latest version: 1.4.0

# @janribkaui/envinfo

Prints information about the current environment relevant to JanRibka UI packages to the console.
Please use this package if you report [issues to MUI](https://github.com/janribkaui/material-ui-tailwind/issues).

## Usage

```bash
$ npx @janribkaui/envinfo

  System:
    OS: Linux 5.4 Ubuntu 20.04.1 LTS (Focal Fossa)
  Binaries:
    Node: 12.20.0 - ~/.nvm/versions/node/v12.20.0/bin/node
    Yarn: 1.22.4 - /usr/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v12.20.0/bin/npm
  Browsers:
    Chrome: 87.0.4280.66
    Firefox: 83.0
  npmPackages:
    @janribkaui/material-ui-tailwind:  1.0.0-alpha.1
    @janribkaui/envinfo:  1.0.0-alpha.1
    @janribkaui/lab:  1.0.0-alpha.1
    @janribkaui/styled-engine:  1.0.0-alpha.1
    @janribkaui/system:  1.0.0-alpha.1
    @janribkaui/types:  1.0.0-alpha.1
    @janribkaui/utils:  1.0.0-alpha.1
    @types/react: ^17.0.0 => 17.0.0
    react: ^16.14.0 => 16.14.0
    react-dom: ^16.14.0 => 16.14.0
    styled-components:  5.2.1
    typescript: ^4.0.2 => 4.0.5
```
npm package: @janribkaui/internal-babel-macros
Description: JanRibka Babel macros. This is an internal package not meant for general use.
Author: Jan Ribka
Latest version: 1.5.1

# @janribkaui/internal-babel-macros

This package contains the error macro used in MUI projects.
This is an internal package not meant for general use.

## Release

There is no build step.
To publish the package to npm, run: `pnpm release:publish`
npm package: @janribkaui/internal-babel-plugin-resolve-imports
Description: Babel plugin that resolves import specifiers to their actual output file.
Author: Jan Ribka
Latest version: 1.3.2

# @janribkaui/internal-babel-plugin-resolve-imports

A babel plugin that resolves import specifiers that are created under the Node.js resolution algorithm to specifiers that adhere to ESM resolution algorithm.

See https://nodejs.org/docs/v20.16.0/api/esm.html#mandatory-file-extensions

> A file extension must be provided when using the import keyword to resolve relative or absolute specifiers. Directory indexes (For example './startup/index.js') must also be fully specified.
>
> This behavior matches how import behaves in browser environments, assuming a typically configured server.

This changes imports in the build output from

```tsx
// packages/mui-material/build/index.js
export * from './Accordion';

// packages/mui-material/build/Breadcrumbs/BreadcrumbCollapsed.js
import MoreHorizIcon from '../internal/svg-icons/MoreHoriz';
```

to

```tsx
// packages/mui-material/build/index.js
export * from './Accordion/index.js';

// packages/mui-material/build/Breadcrumbs/BreadcrumbCollapsed.js
import MoreHorizIcon from '../internal/svg-icons/MoreHoriz.js';
```

## options

- `outExtension`: The extension to use when writing the output. Careful: if not specified, this plugin does not replace extensions at all, your bundles will likely be broken. We left this optional to allow for using this plugin together with the aliasing to source that we do everywhere. That way we can keep it in the pipeline even when not strictly necessary.