Socket
Socket
Sign inDemoInstall

api-pegjs

Package Overview
Dependencies
6
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    api-pegjs

API PEGjs (HTTP, methods, headers, media-type, etc)


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

API PEGjs Build Status

A collection of PEG parsers for HTTP, API and related grammars, along with generators and functional components

This is part of a bigger effort: for-GET HTTP.

Parsers

apiPEG = require 'api-pegjs'

apiPEG.module.parser input

where module.parser can be

  • http
    • header_field
    • message
    • method
    • request_line
    • request_target
    • status_code
    • status_line
    • version
    • headers
      • Accept
      • Accept_Charset
      • Accept_Encoding
      • Accept_Language
      • Allow
      • Connection
      • Content_Encoding
      • Content_Language
      • Content_Location
      • Content_Type
      • Date
      • Expect
      • From
      • Host
      • Location
      • Max_Forwards
      • Referer
      • Retry_After
      • Server
      • TE
      • Tranfer_Encoding
      • Upgrade
      • User_Agent
      • Vary
      • Via
  • uri
  • media_type
  • charset
  • language

License

UNLICENSE

Keywords

FAQs

Last updated on 12 Oct 2014

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc