0.2.1 • Published 4 years ago
multipart-form-data-parser v0.2.1
multipart-form-data-parser
A zero-dependency multipart data parser.
Getting Started
import {parser} from 'multipart-form-data-parser'
parse(Buffer.from('...'), 'boundary')Use as a repository template
Click the Use template link (or the green button). Now start adding your code in the src and unit tests with *.spec.ts.
Clone repository
To clone the repository use the following commands:
git clone https://github.com/chaoyangnz/multipart-form-data-parser
cd multipart-form-data-parser
npm installDownload latest release
Download and unzip current master branch or one of tags:
wget https://github.com/chaoyangnz/multipart-form-data-parser/archive/master.zip -O multipart-form-data-parser.zip
unzip multipart-form-data-parser.zip && rm multipart-form-data-parser.zipAvailable Scripts
clean- remove coverage data, Jest cache and transpiled files,build- transpile TypeScript to ES6,build:watch- interactive watch mode to automatically transpile source files,lint- lint source files and tests,test- run tests,test:watch- interactive watch mode to automatically re-run testsrelease- bump the version, commit, create release tag and publish to NPM registry
License
Licensed under the MIT. See the LICENSE file for details.