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

0.0.7 • 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

Readme

Keywords

Package Sidebar

Install

npm i @docen/jsonp

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

3.52 kB

Total Files

8

Last publish

Collaborators

  • demomacro