npm npm
Magnify icon
  • All Packages
    • JavaScript
    • Python
    • Go
  • Code Examples
    • JavaScript
    • Python
  • Categories
    • JavaScript - Popular
    • JavaScript - Healthiest
    • Python - Popular
    • Python - Healthiest
  • Developer Tools
    • Vulnerability DB
    • Code Checker
    • Snyk Learn
    • Blog
Sign Up
  1. Advisor
  2. pegjs
  3. functions
View all pegjs analysis

Most popular functions for pegjs

To help you get started, we’ve selected a few pegjs examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

  • 1

    pegjs.buildParser

    arrow
  • 2

    pegjs.compiler

    arrow
  • 3

    pegjs.generate

    arrow
  • 4

    pegjs.parser

    arrow
  • 5

    pegjs.parser.parse

    arrow
  • 6

    pegjs.util

    arrow
  • 7

    pegjs.util.clone

    arrow
  • 8

    pegjs.util.each

    arrow
  • 9

    pegjs.util.extend

    arrow
  • 10

    pegjs.util.values

    arrow
  • 11

    pegjs/lib/compiler/asts.indexOfRule

    arrow
  • 12

    pegjs/lib/compiler/js.regexpClassEscape

    arrow
  • 13

    pegjs/lib/compiler/js.stringEscape

    arrow
  • 14

    pegjs/lib/compiler/opcodes.ACCEPT_N

    arrow
  • 15

    pegjs/lib/compiler/opcodes.ACCEPT_STRING

    arrow
  • 16

    pegjs/lib/compiler/opcodes.APPEND

    arrow
  • 17

    pegjs/lib/compiler/opcodes.CALL

    arrow
  • 18

    pegjs/lib/compiler/opcodes.FAIL

    arrow
  • 19

    pegjs/lib/compiler/opcodes.IF

    arrow
  • 20

    pegjs/lib/compiler/opcodes.IF_ERROR

    arrow

Product

  • Partners
  • Developers & DevOps Features
  • Enterprise Features
  • Pricing
  • API Status

Resources

  • Vulnerability DB
  • Blog
  • Learn
  • Documentation
  • Snyk API
  • Research
  • FAQs
  • npm packages list
  • JavaScript Code Examples
  • Browse all JavaScript packages

Company

  • About us
  • Customers
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Events
  • Secure by Design

Connect

  • Book a demo
  • Contact us
  • Support
  • Report a new vuln

Security

  • JavaScript Security
  • Kubernetes Security
  • Container Security
  • Open Source Security
  • Secure SDLC

Find us online

Track our development

Snyk|Open Source Security Platform © 2025 Snyk Ltd.