README
getattachments
Install
$ npm install -g getattachments
Usage
Pipe an email message to getattachments
command. All files are dumped to current folder. If a file exists, it gets overwritten.
cat message.eml | getattachments
License
MIT
Extarct mime parts from emails
<script type="module">
import getattachments from 'https://cdn.skypack.dev/getattachments';
</script>
$ npm install -g getattachments
Pipe an email message to getattachments
command. All files are dumped to current folder. If a file exists, it gets overwritten.
cat message.eml | getattachments
MIT