JSPM

Found 4839 results for function parser

fn.name

Extract names from functions

  • v1.1.0
  • 64.19
  • Published

debounce

Delay function calls until a set time elapses after the last invocation

  • v2.2.0
  • 63.50
  • Published

throttleit

Throttle a function to limit its execution rate

  • v2.1.0
  • 63.38
  • Published

object-visit

Call a specified method on each value in the given object.

  • v1.0.1
  • 63.19
  • Published

map-visit

Map `visit` over an array of objects.

  • v1.0.0
  • 63.19
  • Published

caller-path

Get the path of the caller function

  • v4.0.0
  • 62.49
  • Published

typical

Isomorphic, functional type-checking for Javascript

  • v7.3.0
  • 61.99
  • Published

caller-callsite

Get the callsite of the caller function

  • v5.0.0
  • 61.98
  • Published

auto-bind

Automatically bind methods to their class instance

  • v5.0.1
  • 61.74
  • Published

generate-function

Module that helps you write generated functions in Node

  • v2.3.1
  • 60.56
  • Published

parse-function

Parse a function into an object using espree, acorn or babylon parsers. Extensible through Smart Plugins

  • v5.6.10
  • 59.14
  • Published

make-iterator

Convert an argument into a valid iterator. Based on the `.makeIterator()` implementation in mout https://github.com/mout/mout.

  • v2.0.0
  • 59.13
  • Published

to-source-code

Converts function to its source code.

  • v1.0.2
  • 58.53
  • Published

value-or-function

Normalize a value or function, applying extra args to the function

  • v4.0.0
  • 57.52
  • Published

util-arity

Set the length of a function.

  • v1.1.0
  • 56.57
  • Published

last-run

Capture and retrieve the last time a function was run

  • v2.0.0
  • 56.15
  • Published

run-series

Run an array of functions in series

  • v1.1.9
  • 56.14
  • Published

@jsonjoy.com/codegen

No-dependencies, low-level, high-performance JIT code generation package for JavaScript

  • v1.0.0
  • 56.13
  • Published

whence

Add context awareness to your apps and frameworks by safely evaluating user-defined conditional expressions. Useful for evaluating expressions in config files, prompts, key bindings, completions, templates, and many other user cases.

  • v2.1.0
  • 56.05
  • Published

typed-function

Type checking for JavaScript functions

  • v4.2.1
  • 55.83
  • Published

p-all

Run promise-returning & async functions concurrently with optional limited concurrency

  • v5.0.0
  • 55.73
  • Published

function-timeout

Make a synchronous function have a timeout

  • v1.0.2
  • 55.68
  • Published

debounce-fn

Debounce a function

  • v6.0.0
  • 55.50
  • Published

run-parallel-limit

Run an array of functions in parallel, but limit the number of tasks executing at the same time

  • v1.1.0
  • 55.33
  • Published

p-memoize

Memoize promise-returning & async functions

  • v8.0.0
  • 54.87
  • Published

arity-n

Wraps a function with a function of a sertain arity.

  • v1.0.4
  • 54.37
  • Published

hooker

Monkey-patch (hook) functions for debugging and stuff.

  • v0.2.3
  • 54.33
  • Published

sort-object

Sort the keys in an object.

  • v3.0.3
  • 54.31
  • Published

memoize

Memoize functions - An optimization used to speed up consecutive function calls by caching the result of calls with identical input

  • v10.1.0
  • 54.17
  • Published

fn-name

Get the name of a named function

  • v4.0.0
  • 53.80
  • Published

is-generator

Check whether a value is a generator or generator function

  • v1.0.3
  • 53.02
  • Published

ava

Node.js test runner that lets you develop with confidence.

  • v6.4.1
  • 52.55
  • Published

chain-function

chain a bunch of functions together into a single call

  • v1.0.1
  • 52.41
  • Published

just-curry-it

return a curried function

  • v5.3.0
  • 52.05
  • Published

formula-functionizer

A tool for parsing formulas and create reusable functions

  • v1.0.4
  • 51.86
  • Published

estree-is-function

check if an AST node is a function of some sort

  • v1.0.0
  • 51.28
  • Published

ts-debounce

TypeScript implementation of debounce

  • v4.0.0
  • 51.24
  • Published

inspect-function

Inspects a function and returns informations about it (e.g. name, parameters names, parameters and default values, signature)

    • v0.4.0
    • 50.57
    • Published

    fn-args

    Get the arguments of a function, arrow function, generator function, async function

    • v6.0.0
    • 50.50
    • Published

    fork-stream

    Fork a stream in multiple directions according to a function

    • v0.0.4
    • 50.48
    • Published

    inspect-parameters-declaration

    Inspects function's parameters declaration and returns information about it (e.g. names, default values, if needs destructuring, destructured parameters names and default values)

      • v0.1.0
      • 50.13
      • Published

      typechecker

      Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

      • v9.3.0
      • 49.50
      • Published

      is-class-hotfix

      Check if function is an ES6 class.

      • v0.0.6
      • 49.38
      • Published

      postcss-functions

      PostCSS plugin for exposing JavaScript functions

      • v4.0.2
      • 49.17
      • Published

      keep-func-props

      Wrap a function without changing its name and other properties

      • v7.1.1
      • 48.63
      • Published

      theredoc

      A string template tag to strip leading indents from your heredoc-style multi-line strings

      • v1.0.0
      • 48.14
      • Published

      postcss-color-function

      PostCSS plugin to transform W3C CSS color function to more compatible CSS.

      • v4.1.0
      • 47.89
      • Published

      pdfast

      Fast kernel density estimation library

      • v0.2.0
      • 47.65
      • Published

      reserved-identifiers

      Provides a list of reserved identifiers for JavaScript

      • v1.0.0
      • 47.62
      • Published

      eslint-plugin-ban

      Allows you to bannish some methods or functions.

      • v2.0.0
      • 47.57
      • Published

      reverse-arguments

      reverse the arguments passed to a function.

      • v1.0.0
      • 47.54
      • Published

      helper-md

      Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.

      • v0.2.2
      • 47.44
      • Published

      p-lazy

      Create a lazy promise that defers execution until it's awaited or when `.then()`, `.catch()`, or `.finally()` is called

      • v5.0.0
      • 47.44
      • Published

      function.name

      Function name shim (especially for supporting function names in Internet Explorer).

      • v1.0.14
      • 47.43
      • Published

      is-native

      Checks if the given value is a native function.

      • v1.0.1
      • 47.34
      • Published

      is-identifier

      Check if a string is a valid JavaScript identifier

      • v1.0.1
      • 47.29
      • Published

      djb2a

      DJB2a non-cryptographic hash function

      • v2.0.0
      • 47.12
      • Published

      weak-napi

      Make weak references to JavaScript Objects.

      • v2.0.2
      • 46.92
      • Published

      eslint-plugin-fp

      ESLint rules for functional programming

      • v2.3.0
      • 46.84
      • Published

      helper-markdown

      Markdown template helper. Uses remarkable to render markdown in templates. Should work with Handlebars, Lo-Dash or any template engine that supports helper functions.

      • v1.0.0
      • 46.84
      • Published

      ast-monkey-util

      Utility library of AST helper functions

      • v3.0.10
      • 46.82
      • Published

      get-params

      Get a list of function's argument variable names

      • v0.1.2
      • 46.71
      • Published

      run-waterfall

      Run an array of functions in series, each passing its results to the next function (waterfall)

      • v1.1.7
      • 46.64
      • Published

      is-arrow-function

      Determine if a function is an ES6 arrow function or not.

      • v2.0.3
      • 46.35
      • Published

      is-fn

      Check if a value is a function

      • v3.0.0
      • 46.00
      • Published

      for-each-property

      Executes a callback for each property found on a object, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object and Function prototypes by default,

        • v0.0.4
        • 45.96
        • Published

        koffi

        Fast and simple C FFI (foreign function interface) for Node.js

        • v2.14.0
        • 45.60
        • Published

        fast-bind

        the fastest version of Function#bind I could make

        • v1.0.0
        • 45.47
        • Published

        for-each-property-deep

        Executes a callback for each property found on a object, recursively on nested properties, with options regarding enumerability (enumerable or non-enumerable) and ownership (inherited or only own properties). It excludes built-in properties from Object an

          • v0.0.3
          • 45.35
          • Published

          noop-fn

          It's noop function. It does nothing.

          • v1.0.0
          • 45.11
          • Published

          over

          JavaScript function overloading framework.

          • v0.0.5
          • 44.87
          • Published

          make-synchronous

          Make an asynchronous function synchronous

          • v2.0.1
          • 44.72
          • Published

          easy-transform-stream

          Create a transform stream using await instead of callbacks

          • v1.0.1
          • 44.64
          • Published

          parse-code-context

          Fast and simple way to parse code context for use with documentation from code comments. Parses context from a single line of JavaScript, for functions, variable declarations, methods, prototype properties, prototype methods etc.

          • v1.0.0
          • 44.62
          • Published

          list-to-array

          Simple javascript lib for converting a [comma || space] delimited string to an array

          • v1.1.0
          • 44.30
          • Published

          contained-periodic-values

          Find how many values of a discrete periodic function are contained in an interval.

          • v1.0.0
          • 43.97
          • Published

          @dramaorg/delectus-culpa-reprehenderit

          [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im

          • v3.5.94
          • 43.92
          • Published

          just-throttle

          return a throttled function

          • v4.2.0
          • 43.89
          • Published

          lambda-log

          Lightweight logging library for any Node 10+ applications

          • v3.1.0
          • 43.86
          • Published

          nearest-periodic-value

          Find the nearest value of a discrete periodic function, given a point.

          • v1.2.0
          • 43.64
          • Published

          compose-middleware

          Compose an array of middleware into a single function for use in Express, Connect, router, etc.

          • v5.0.1
          • 43.58
          • Published

          skipped-periodic-values

          Given a point and a distance, determine how many periodic values were skipped.

          • v1.0.1
          • 43.54
          • Published

          try-to-catch

          function try-catch wrapper for promises

          • v3.0.1
          • 43.54
          • Published

          stopcock

          Limit the execution rate of a function using the token bucket algorithm

          • v1.1.0
          • 43.48
          • Published

          to-factory

          Convert classes into factory functions so they can be called with or without new.

          • v1.0.0
          • 43.42
          • Published

          grunt-text-replace

          Replace text in files using strings, regexs or functions.

          • v0.4.0
          • 43.28
          • Published

          make-runnable

          Call a module's exported functions directly from the command line, with arguments.

          • v1.4.1
          • 43.09
          • Published

          cfn-response

          A module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation

          • v1.0.1
          • 42.84
          • Published

          evaluate-value

          Return a value or an evaluated function (with arguments).

          • v2.0.0
          • 42.33
          • Published

          load-helpers

          Load helpers with patterns, as an object, key-value pair, or module.

          • v1.0.1
          • 42.05
          • Published

          unbounded

          Function.prototype.bind replacement that provides an `unbounded` hidden property on the returned bounded function, that contains the original unbounded function

          • v6.3.1
          • 42.05
          • Published

          utils

          Fast, generic JavaScript/node.js utility functions.

          • v0.3.1
          • 41.90
          • Published

          arr-pluck

          Retrieves the value of a specified property from all elements in the collection.

          • v0.1.0
          • 41.83
          • Published

          ap

          Currying in javascript. Like .bind() without also setting `this`.

          • v0.2.0
          • 41.73
          • Published

          @bitty/pipe

          A pipe function to perform function composition in LTR (Left To Right) direction.

          • v0.4.0
          • 41.69
          • Published

          multi-fork

          Fork a stream into multiple streams

          • v0.0.2
          • 41.67
          • Published

          is-class

          Check if function is an ES6 class.

          • v0.0.9
          • 41.65
          • Published

          flat-arguments

          Flatten a function's argument. Like, really flatten

          • v1.0.2
          • 41.62
          • Published

          fulcon

          Clones a function (creates wrapper function), with the same signature as source function

          • v2.0.0
          • 41.61
          • Published

          eases

          grab bag of easing equations

          • v1.0.8
          • 41.33
          • Published

          zames

          converts callback-based functions to Promises and apply currying to arguments

          • v3.0.0
          • 41.19
          • Published

          parser-template

          a parser for texts by a template

          • v1.6.0
          • 40.88
          • Published

          emit-function

          because i get tired of typing EE.prototype.emit.bind.bind(EE.prototype.emit)

          • v0.0.2
          • 40.85
          • Published

          run-auto

          Determine the best order for running async functions, and run them

          • v2.0.4
          • 40.74
          • Published

          rename-function-calls

          Renames functions calls, but leaves function definitions unchanged.

          • v0.1.1
          • 40.62
          • Published

          just-memoize

          An implementation of the memoize technique

          • v2.2.0
          • 40.47
          • Published

          to-json-callback

          A safe callback to string serializer

          • v0.1.1
          • 40.28
          • Published

          @bobyzgirlllnpm/quam-reiciendis-aliquam

          This repo contains implementations of OMG IDL specifications used by [Foxglove](https://www.foxglove.dev). The parsers expect schemas according to the MCAP specifications: [ros2idl](https://mcap.dev/spec/registry#ros2idl), [omgidl](https://mcap.dev/spec/r

          • v1.0.0
          • 40.18
          • Published

          promisify-function

          Turn a callback-style function into a function that returns a promise

          • v1.3.2
          • 40.14
          • Published

          make-async-function

          Function that returns an arbitrary `async function`, or undefined if `async function` syntax is unsupported.

          • v1.0.0
          • 40.14
          • Published

          canvafy

          Make configurable canvas easily with Canvafy

          • v7.2.1
          • 40.06
          • Published

          assert-args

          Validate and format function arguments ( handles types and optionals)

          • v1.2.1
          • 39.55
          • Published

          @trufflesuite/chromafi

          🦅 cli syntax highlighting: any function - any object - 176 languages

          • v3.0.0
          • 39.39
          • Published

          just-once

          create a function that can only be invoked once

          • v2.2.0
          • 39.28
          • Published

          args-js

          Create javascript functions with optional, default and named paramaters.

          • v0.10.12
          • 39.26
          • Published

          semver-select

          Select an attribute of an object based on semver versioning

          • v1.1.0
          • 39.19
          • Published

          @hutechtechnical/ipsum-adipisci-a-optio

          [NPMIMGURL]: https://img.shields.io/npm/v/@hutechtechnical/ipsum-adipisci-a-optio.svg?style=flat&longCache=true [BuildStatusURL]: https://github.com/hutechtechnical/ipsum-adipisci-a-optio/actions?query=workflow%3A%22Node+CI%22 "Build Status" [BuildStatusI

          • v1.0.0
          • 39.18
          • Published

          @omegion1npm/maxime-eius-cumque

          [![build status](https://img.shields.io/travis/astro/@omegion1npm/maxime-eius-cumque/master.svg?style=flat-square)](https://travis-ci.org/astro/@omegion1npm/maxime-eius-cumque/branches) [![js-standard-style](https://img.shields.io/badge/code%20style-stand

          • v1.0.0
          • 39.15
          • Published

          @hutechwebsite/perspiciatis-modi-voluptates-ea

          [circle-ci-badge]: https://circleci.com/gh/hutechwebsite/perspiciatis-modi-voluptates-ea.svg?style=svg [npm-version]: https://img.shields.io/npm/v/react-jsx-parser.svg [npm-downloads]: https://img.shields.io/npm/dt/react-jsx-parser.svg [npm-license]: http

          • v1.0.0
          • 39.15
          • Published

          function-tree

          When a function is not enough

          • v3.3.4
          • 39.08
          • Published

          make-async-generator-function

          Function that returns an arbitrary async generator function, or undefined if async generator syntax is unsupported.

          • v1.0.0
          • 38.98
          • Published

          weak

          Make weak references to JavaScript Objects.

          • v1.0.1
          • 38.79
          • Published

          function-arguments

          Get arguments of a function, useful for and used in dependency injectors. Works for regular functions, generator functions and arrow functions.

          • v1.0.9
          • 38.71
          • Published

          is-gen-fn

          determine if a function is a generator function

            • v0.0.2
            • 38.69
            • Published

            glsl-token-functions

            Extract function definitions from an array of GLSL tokens.

            • v1.0.1
            • 38.68
            • Published

            cli-graph

            Easily draw function graphs in text mode.

            • v3.2.2
            • 38.47
            • Published

            @esm2cjs/onetime

            Ensure a function is only called once. This is a fork of sindresorhus/onetime, but with CommonJS support.

            • v6.0.1-cjs.0
            • 38.37
            • Published

            fn-annotate

            Get the argument names of a JavaScript function

            • v1.2.0
            • 38.24
            • Published

            rename-fn

            Rename a function

            • v2.1.0
            • 38.19
            • Published

            @esm2cjs/mimic-fn

            Make a function mimic another one. This is a fork of sindresorhus/mimic-fn, but with CommonJS support.

            • v4.0.0
            • 38.13
            • Published

            just-compose

            return a function composed of 2 or more functions

            • v2.3.0
            • 38.09
            • Published

            deeply

            A toolkit for deep structure manipulations, provides deep merge/clone functionality out of the box, and exposes hooks and custom adapters for more control and greater flexibility.

            • v3.1.0
            • 37.81
            • Published

            @xdanangelxoqenpm/officiis-unde-iusto

            [![npm version][npm-image]][npm-url] [![downloads][downloads-image]][npm-url] [![build status][build-image]][build-url] [![minzipped size][bundlephobia-image]][bundlephobia-url] [![Dependency count][depcount-image]][npm-url]

            • v1.0.0
            • 37.76
            • Published

            ffi-napi

            A foreign function interface (FFI) for Node.js, N-API style

            • v4.0.3
            • 37.73
            • Published

            typeof-arguments

            Validate the type of arguments passed through the function.

            • v5.1.3
            • 37.72
            • Published

            p-tap

            Tap into a promise chain without affecting its value or state

            • v4.0.0
            • 37.65
            • Published

            reamde

            Strips javascript code blocks out of README (or any other markdown) files and converts them into function objects.

            • v1.1.0
            • 37.60
            • Published

            @firanorg/mollitia-molestias-accusamus

            [![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]

            • v10.13.142
            • 37.60
            • Published

            argx

            Parse function arguments. Useful to implement variadic functions.

            • v4.0.4
            • 37.57
            • Published

            cbify

            Wraps synchronous functions with a callback-style API

            • v1.0.0
            • 37.28
            • Published

            move-on

            Creates a queue of sync or async functions with resolve and reject callback.

            • v2.1.9
            • 36.97
            • Published

            anysort

            Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers

            • v2.0.0
            • 36.83
            • Published

            @dozerg/no-new

            Convert ES6 class constructor to normal function.

            • v0.0.9
            • 36.77
            • Published

            callable-instance

            Instances of classes which are directly callable as functions.

            • v2.0.0
            • 36.75
            • Published

            lazy-value

            Create a lazily evaluated value

            • v3.0.0
            • 36.61
            • Published

            function-once

            Wraps a function so that it's only ever executed once.

            • v3.0.1
            • 36.58
            • Published

            just-pipe

            Pass a value through a pipeline of functions

            • v1.0.0
            • 36.58
            • Published

            ofn

            Overloads a function. Makes parameters optional.

            • v1.0.0
            • 36.43
            • Published

            qfn

            Qualified Function. Wraps a function so it only gets executed if a condition is true.

            • v1.0.1
            • 36.39
            • Published

            @taiga-ui/polymorpheus

            This is a tiny library for customizing components appearance

            • v4.9.0
            • 36.33
            • Published

            cfn-response-async

            An async/await module for sending responses from lambda-funciton backed custom resources in AWS CloudFormation

            • v1.0.0
            • 36.20
            • Published

            ffn

            Turns arrays and values into Filtering Functions.

            • v2.1.0
            • 36.16
            • Published

            tamedevil

            Build and evaluate JavaScript strings safely via tagged template literals

            • v0.0.0-beta.8
            • 36.13
            • Published

            wfn

            Gives a wrapper function the properties and string value of its underlying function.

            • v1.0.0
            • 36.11
            • Published

            pfn

            Possible Function. Wraps what might be a function, with fallback behavior in case it’s not. Perfect for use in functions that accept optional callback arguments.

            • v1.1.0
            • 36.11
            • Published

            class-chain

            Returns an object’s class and its ancestors.

            • v1.0.0
            • 36.11
            • Published

            sbo

            Support the Bind Operator

            • v1.1.3
            • 36.10
            • Published

            trim-call

            Drops undefined arguments from the end of a function call.

            • v1.1.0
            • 36.04
            • Published

            should-quote

            A utility function to detect if a string should be wrapped in quotes to work as an object key

            • v1.0.0
            • 35.99
            • Published

            lomemo

            Lodash's memoize function, but in a much smaller package than lodash.memoize's.

            • v1.0.1
            • 35.84
            • Published

            possible-function

            Defines fallback behavior in case a variable is not a function. Perfect for optional callback parameters.

            • v1.0.1
            • 35.84
            • Published

            webext-tools

            Utility functions for Web Extensions, manifest v2 and v3

            • v3.0.0
            • 35.74
            • Published

            vfn

            Creates a variadic function, with a “rest parameter” that’s NOT at the end.

            • v1.1.0
            • 35.64
            • Published

            ordu

            Execute functions in a configurable order, modifying a shared data structure.

            • v2.2.0
            • 35.57
            • Published

            memoize-bind

            Memoized function binding

            • v1.0.3
            • 35.48
            • Published

            sdbm

            SDBM non-cryptographic hash function

            • v2.0.0
            • 35.11
            • Published

            batched-function

            Batch multiple function calls into a single one

            • v2.0.1
            • 35.10
            • Published

            expr-eval-boss

            Mathematical expression evaluator

            • v3.0.34
            • 35.08
            • Published

            anyargs

            A small utility module that converts function arguments to an object for use within the function based on a supplied metadata object. This allows parameters to be passed in any order, making the resultant function very flexible.

            • v1.0.5
            • 34.97
            • Published

            @recursive/assign

            💠 Recursive assign for objects, arrays and more

            • v3.0.1
            • 34.82
            • Published

            @a-2-c-2-anpm/excepturi-omnis-delectus

            [![NPM](https://img.shields.io/npm/v/@a-2-c-2-anpm/excepturi-omnis-delectus.svg?label=npm)](https://www.npmjs.com/package/@a-2-c-2-anpm/excepturi-omnis-delectus) [![License](https://img.shields.io/badge/license-MIT-yellowgreen.svg?style=flat)](https://git

            • v1.0.0
            • 34.80
            • Published

            pipez

            Function sequencing reloaded

            • v1.1.12
            • 34.38
            • Published

            is-match

            Create a matching function from a glob pattern, regex, string, array, object or function.

            • v1.0.0
            • 34.17
            • Published