Socket
Book a DemoInstallSign in
Socket

gbk-body

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gbk-body

parse gbk/gb2312 encoded bodies

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

gbk-body

Installation

npm install gbk-body

API

var gbkBody = require('gbk-body')

gbkBody()

Example

Simple Express example

var express = require('express');
var gbkBody = require('gbk-body');

var app = express();

app.use(gbkBody());

Notice

When using gbk-body and body-parser together, make sure gbk-body appears before body-parser.

FAQs

Package last updated on 18 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts