Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<!DOCTYPE html> <html lang="zh-Hans"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="author" content="xgqfrms"> <meta name="generator" content="VS code"> <title>JSON5</title> </head> <body> <section> <h1> <a href="https://feiqa.xgqfrms.xyz/index.html"></a> </h1> </section> <!-- libs --> <!-- <script src="https://unpkg.com/json5@^2.0.0/dist/index.min.js"></script> --> <script src="./libs/json5.min.js"></script> <script type="module"> // const JSON5 = require('json5'); import * as JSON5 from "./libs/json5.min.js"; // JSON5.stringify(value[, replacer[, space]]); // JSON5.stringify(value[, options]); </script> </body> </html>
The text was updated successfully, but these errors were encountered:
https://cdnjs.cloudflare.com/ajax/libs/json5/0.5.1/json5.min.js https://stackoverflow.com/questions/9036429/convert-object-string-to-json/48580882#48580882
Sorry, something went wrong.
Thanks for reporting this.
The officially supported CDN is unpkg.com.
I've added new files at dist/index.mjs and dist/index.min.mjs that support ES6 modules.
dist/index.mjs
dist/index.min.mjs
@jordanbtucker THX!
jordanbtucker
No branches or pull requests
cdn & ES6 import module wanted
The text was updated successfully, but these errors were encountered: