An open API service indexing awesome lists of open source software.

https://github.com/windomz/disk-calc

Hard disk calculation - Easy to calculate integer hard disk partition.
https://github.com/windomz/disk-calc

calculator cli disk-calc

Last synced: about 1 year ago
JSON representation

Hard disk calculation - Easy to calculate integer hard disk partition.

Awesome Lists containing this project

README

          

```

_______ __ _______. __ ___ ______ ___ __ ______
| \ | | / || |/ / / | / \ | | / |
| .--. || | | (----`| ' / ______| ,----' / ^ \ | | | ,----'
| | | || | \ \ | < |______| | / /_\ \ | | | |
| '--' || | .----) | | . \ | `----./ _____ \ | `----.| `----.
|_______/ |__| |_______/ |__|\__\ \______/__/ \__\ |_______| \______|

```

[![Greenkeeper badge](https://badges.greenkeeper.io/WindomZ/disk-calc.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/WindomZ/disk-calc.svg?branch=master)](https://travis-ci.org/WindomZ/disk-calc)
[![Coverage Status](https://coveralls.io/repos/github/WindomZ/disk-calc/badge.svg?branch=dev)](https://coveralls.io/github/WindomZ/disk-calc?branch=dev)
[![Dependency](https://david-dm.org/WindomZ/disk-calc.svg)](https://david-dm.org/WindomZ/disk-calc)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FWindomZ%2Fdisk-calc.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2FWindomZ%2Fdisk-calc?ref=badge_shield)

> Hard disk calculation.

> Easy to calculate integer hard disk partition.

[![NPM](https://nodei.co/npm/disk-calc.png)](https://nodei.co/npm/disk-calc/)

[![disk-calc](https://img.shields.io/npm/v/disk-calc.svg)](https://www.npmjs.com/package/disk-calc)
[![status](https://img.shields.io/badge/status-stable-green.svg)](https://www.npmjs.com/package/disk-calc)

## Installation

```bash
npm install -g disk-calc
```

## Usage

```bash
$ disk-calc -h

Usage: disk-calc [options] [command]

Commands:

usage|u [options]
windows|win [hide_size]

Hard disk calculation.

Options:

-h, --help output usage information
-V, --version output the version number
```

## Examples

```bash
disk-calc usage # Display the program steps in English.
disk-calc usage -c # Display the program steps in Chinese.
disk-calc windows 10 # Calculate the size of the 10G partition
disk-calc windows 10g # Calculate the size of the 10G partition
disk-calc windows 10G # Calculate the size of the 10G partition
disk-calc windows 10GB # Calculate the size of the 10G partition
disk-calc windows 10G 566M # Calculate the size of the 10G partition + 566MB hidden partition sizes
```

## Contributing

Welcome to pull requests, report bugs, suggest ideas and discuss **disk-calc**,
i would love to hear what you think about **disk-calc** on [issues page](https://github.com/WindomZ/disk-calc/issues).

If you like it then you can put a :star: on it.

## License

[MIT](https://github.com/WindomZ/disk-calc/blob/master/LICENSE)

[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FWindomZ%2Fdisk-calc.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FWindomZ%2Fdisk-calc?ref=badge_large)