@docen/jsonp
TypeScript icon, indicating that this package has built-in type declarations

0.0.7-edge.3 • Public • Published

@docen/jsonp

npm version npm downloads npm license

Programmed implementation of jsonp format, powered by Demo Macro.

Getting started

# npm
$ npm install @docen/jsonp

# yarn
$ yarn add @docen/jsonp

# pnpm
$ pnpm add @docen/jsonp

Usage

import { convertJSONPToJSON } from "@docen/jsonp";

const jsonp = `callbackFunction({"key": "value"})`;

convertJSONPToJSON(jsonp);

// {"key": "value"}

License

/@docen/jsonp/

    Package Sidebar

    Install

    npm i @docen/jsonp

    Weekly Downloads

    2

    Version

    0.0.7-edge.3

    License

    MIT

    Unpacked Size

    3.53 kB

    Total Files

    8

    Last publish

    Collaborators

    • demomacro