# Install mammoth with npm

Convert Word documents from docx to simple HTML and Markdown. Version 1.12.0 via npm; verified 2026-03-12.

## Install

```sh
sudo av install npm:mammoth
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g mammoth
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:mammoth
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/mammoth>
- **Version:** 1.12.0
- **Source summary:** Convert Word documents from docx to simple HTML and Markdown
- **Homepage:** <https://github.com/mwilliamson/mammoth.js#readme>
- **Repository:** <https://github.com/mwilliamson/mammoth.js>
- **Upstream docs:** <https://github.com/mwilliamson/mammoth.js#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://registry.npmjs.org/mammoth/-/mammoth-1.12.0.tgz>
- **Issue tracker:** <https://github.com/mwilliamson/mammoth.js/issues>
- **Published:** 2026-03-12T21:40:09.129Z
- **Last updated:** 2026-03-12T21:40:09.129Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mammoth (cli)
- mammoth (alias)

## Dependencies

- @xmldom/xmldom
- argparse
- base64-js
- bluebird
- dingbat-to-unicode
- jszip
- lop
- path-is-absolute
- underscore
- xmlbuilder

## Build dependencies

- @types/node
- browserify
- browserify-prepend-licenses
- duck
- eslint
- hamjest
- mocha
- temp
- typescript
- uglify-js

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.12.0
- Package-manager updated: 2026-03-12
- Local data: ok
- Upstream repository: https://github.com/mwilliamson/mammoth.js
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for mammoth. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.12.0
- **Version Count:** 98
- **Maintainers:** mwilliamson
- **Author:** Michael Williamson
- **Publisher:** mwilliamson
- **Engines:** Node: >=12.0.0
- **Integrity:** sha512-cwnK1RIcRdDMi2HRx2EXGYlxqIEh0Oo3bLhorgnsVJi2UkbX1+jKxuBNR9PC5+JaX7EkmJxFPmo6mjLpqShI2w==
- **Shasum:** 102ed719a933ac08ed65b37e9856622f1051effb
- **Unpacked Size:** 2,166,337
- **File Count:** 0
- **Created At:** 2013-05-06T13:36:08.339Z
- **Latest Published At:** 2026-03-12T21:40:09.129Z
- **Modified At:** 2026-03-12T21:40:09.559Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [markit-ai](https://www.automicvault.com/pkg/npm/markit-ai/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, data, document.
- [markdown-docx](https://www.automicvault.com/pkg/npm/markdown-docx/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, convert, data, document.
- [md-to-pdf](https://www.automicvault.com/pkg/npm/md-to-pdf/) - Both packages work with overlapping file formats or content types. Shared terms: cli, conversion, data, document, document-conversion.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
