@docen/jsonp
v0.0.7-edge.3
Published
Programmed implementation of jsonp format, powered by Demo Macro.
Downloads
5
Readme
@docen/jsonp
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"}