# ooxml-type

> Module to get type of ooxml file

Latest version **0.0.1** (published 2016-03-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install ooxml-type
pnpm add ooxml-type
yarn add ooxml-type
bun add ooxml-type
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-03-19 |
| First published | 2016-03-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Adam Snodgrass |
| Maintainers | overra |
| Keywords | ooxml, type |

## Links

- npm: https://www.npmjs.com/package/ooxml-type
- Repository: https://github.com/overra/ooxml-type
- Homepage: https://github.com/overra/ooxml-type#readme
- Issues: https://github.com/overra/ooxml-type/issues
- npm.io page: https://npm.io/package/ooxml-type

## Dependencies (2)

- [adm-zip](https://npm.io/package/adm-zip.md) ^0.4.7
- [is-ooxml](https://npm.io/package/is-ooxml.md) 0.0.2

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-03-19

## README

# ooxml-type
Module to get type of ooxml file

## Install

```
npm install ooxml-type
```

## Usage

```js
var fs = require('fs');
var ooxmlType = require('.');

var file = fs.readFileSync('./docx.docx');
console.log(ooxmlType(file));
// > docx

file = fs.readFileSync('./xlsx.xlsx');
console.log(ooxmlType(file));
// > xlsx

file = fs.readFileSync('./pptx.pptx');
console.log(ooxmlType(file));
// > pptx

file = fs.readFileSync('./pdf.pdf');
console.log(ooxmlType(file));
// > null
```

---
_Source: https://npm.io/package/ooxml-type · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
