JSPM

  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q29351F
  • License MIT

calls the function f with the given arguments in protected mode

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pcall.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    PCALL.js

    Calls the function f with the given arguments in protected mode.

    This means that any error inside f is not propagated; instead, pcall catches the error and returns a status code.

    Getting Started

    # install
    npm install pcall.js

    Development

    # test
    bun test
    
    # build
    bun run build

    License

    MIT