{"versions":{"0.0.1":{"name":"create-codepen","version":"0.0.1","description":"CodePen library","author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mrhope.site"},"license":"MIT","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"devDependencies":{"esbuild":"^0.17.19","rollup":"^3.23.0","rollup-plugin-dts":"^5.3.0","rollup-plugin-esbuild":"^5.0.0","typescript":"^5.1.3","vite":"^4.3.9"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","dev":"vite dev"},"types":"./dist/index.d.ts","_id":"create-codepen@0.0.1","_integrity":"sha512-ptE7YAz8sezVgzxqqrMCL9mz93M4OcEA1JaUl0mKWn2WaWXeSMs/1PUZeKaiZTfuPmsPZWo82AdCQyu9MeAxrA==","_resolved":"/tmp/a6a8dc68235d1a241923c3b34f711d2b/create-codepen-0.0.1.tgz","_from":"file:create-codepen-0.0.1.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-ptE7YAz8sezVgzxqqrMCL9mz93M4OcEA1JaUl0mKWn2WaWXeSMs/1PUZeKaiZTfuPmsPZWo82AdCQyu9MeAxrA==","shasum":"fe5971e91e5dbcee9273df8c03054c3cfad49173","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-0.0.1.tgz","fileCount":12,"unpackedSize":50303,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtDHCN1ziNJVdjfZX+fSKrhFF/TsnhOOUN8YjKXOYBDAiADyqW7m5hGzi+nlhETnWOg+agfDofcXwz+tm/OMkgk5w=="}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_0.0.1_1685934244805_0.7722163593421931"},"_hasShrinkwrap":false,"contributors":[]},"0.0.2":{"name":"create-codepen","version":"0.0.2","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mrhope.site"},"license":"MIT","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"devDependencies":{"esbuild":"^0.17.19","rollup":"^3.23.0","rollup-plugin-dts":"^5.3.0","rollup-plugin-esbuild":"^5.0.0","typescript":"^5.1.3","vite":"^4.3.9"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","dev":"vite dev"},"types":"./dist/index.d.ts","_id":"create-codepen@0.0.2","_integrity":"sha512-HxhdZhd4+BrA7xZCYHulUe8xOmEZkq4xMbxl24Krt3hvS1OvJRHWDXRcB9JIEj5cnFFWlC6Jv8ANqxbG2Atm+Q==","_resolved":"/tmp/e55fe6eede7bac6d1998619839cece0b/create-codepen-0.0.2.tgz","_from":"file:create-codepen-0.0.2.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-HxhdZhd4+BrA7xZCYHulUe8xOmEZkq4xMbxl24Krt3hvS1OvJRHWDXRcB9JIEj5cnFFWlC6Jv8ANqxbG2Atm+Q==","shasum":"755d5eee82dff06a514f19f905d650aae3781f94","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-0.0.2.tgz","fileCount":12,"unpackedSize":50756,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/HGT63dK+0U+I2lvFF4igCYYh5Xbbtsrr1oBP0AmXqAiA8xFPb83+8u1aSjSlpS7miPjs5LSfifdnEs66Jjg2cww=="}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_0.0.2_1685934838219_0.721100237088091"},"_hasShrinkwrap":false,"contributors":[]},"0.0.3":{"name":"create-codepen","version":"0.0.3","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mrhope.site"},"license":"MIT","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"packageManager":"pnpm@8.6.0","devDependencies":{"@typescript-eslint/eslint-plugin":"5.59.8","@typescript-eslint/parser":"5.59.8","esbuild":"^0.17.19","eslint":"^8.42.0","eslint-config-prettier":"^8.8.0","eslint-plugin-import":"^2.27.5","eslint-plugin-prettier":"^4.2.1","prettier":"^2.8.8","rollup":"^3.23.0","rollup-plugin-dts":"^5.3.0","rollup-plugin-esbuild":"^5.0.0","typescript":"^5.1.3","vite":"^4.3.9"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","dev":"vite dev","lint":"pnpm lint:prettier --write && pnpm lint:eslint --fix","lint:check":"pnpm lint:prettier && pnpm lint:eslint","lint:eslint":"eslint . --ext .js,.ts,.vue","lint:prettier":"prettier --check ."},"types":"./dist/index.d.ts","_id":"create-codepen@0.0.3","_integrity":"sha512-Yr9qDyJEZ32V8rZn+R19zomU/0bjHixp11sB+IgnZ5bEb41XJ86iHT3IXTGdqHF2NVx6dsZ1R4DjpxXvA2/dXg==","_resolved":"/tmp/44aa7fa06e8cdf1d74b6ec19ba130da3/create-codepen-0.0.3.tgz","_from":"file:create-codepen-0.0.3.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-Yr9qDyJEZ32V8rZn+R19zomU/0bjHixp11sB+IgnZ5bEb41XJ86iHT3IXTGdqHF2NVx6dsZ1R4DjpxXvA2/dXg==","shasum":"d4ea29c3dc30fbd157bf723e90479ae91d45d170","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-0.0.3.tgz","fileCount":12,"unpackedSize":59708,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZ6/N1OWhtP28ZEiu2pagEUzX3CrtR6U9bbZRNnWTmZQIhAPrGTsvxv4Y7Px9MhzK/b/6Cttqzruh0scZaOhpI1N3g"}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_0.0.3_1685945328042_0.9176568746370428"},"_hasShrinkwrap":false,"contributors":[]},"1.0.0":{"name":"create-codepen","version":"1.0.0","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mister-hope.com"},"license":"MIT","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"packageManager":"pnpm@8.9.0","devDependencies":{"@typescript-eslint/eslint-plugin":"6.7.5","@typescript-eslint/parser":"6.7.5","esbuild":"0.19.4","eslint":"8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-import":"2.28.1","eslint-plugin-prettier":"5.0.0","prettier":"3.0.3","rollup":"4.0.2","rollup-plugin-dts":"6.1.0","rollup-plugin-esbuild":"6.1.0","typescript":"5.2.2","vite":"4.4.11"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","dev":"vite dev","lint":"pnpm lint:prettier --write && pnpm lint:eslint --fix","lint:check":"pnpm lint:prettier && pnpm lint:eslint","lint:eslint":"eslint . --ext .js,.ts,.vue","lint:prettier":"prettier --check ."},"types":"./dist/index.d.ts","_id":"create-codepen@1.0.0","_integrity":"sha512-JpNqUxIN8yFy2GDJ2zdldeBQIc82iWkrOEqM8aoG5npG80uAukUB+C46+f1JoLX+ybHrEjG1F53hWtIq/VcPlw==","_resolved":"/tmp/f7cc8c7d3ef26893fb6ef3b05e40169c/create-codepen-1.0.0.tgz","_from":"file:create-codepen-1.0.0.tgz","_nodeVersion":"18.18.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-JpNqUxIN8yFy2GDJ2zdldeBQIc82iWkrOEqM8aoG5npG80uAukUB+C46+f1JoLX+ybHrEjG1F53hWtIq/VcPlw==","shasum":"088e14ffc62c099b75601b29865bfe64bca7c034","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-1.0.0.tgz","fileCount":12,"unpackedSize":59879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEYkK5qgXja8YIbGbtUwpV5ArbwzYgBW4WJ1KyLX7/oAiAWTzGa4nvIuwIvqH469QbaC36E0ys+tiw/puxoE+4rnw=="}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_1.0.0_1696943841769_0.77167865546706"},"_hasShrinkwrap":false,"contributors":[]},"1.0.1":{"name":"create-codepen","version":"1.0.1","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mister-hope.com"},"license":"MIT","main":"dist/index.cjs","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs","default":"./dist/index.mjs"}},"packageManager":"pnpm@8.9.0","devDependencies":{"@typescript-eslint/eslint-plugin":"6.7.5","@typescript-eslint/parser":"6.7.5","esbuild":"0.19.4","eslint":"8.51.0","eslint-config-prettier":"^9.0.0","eslint-plugin-import":"2.28.1","eslint-plugin-prettier":"5.0.0","prettier":"3.0.3","rollup":"4.0.2","rollup-plugin-dts":"6.1.0","rollup-plugin-esbuild":"6.1.0","typescript":"5.2.2","vite":"4.4.11"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","dev":"vite dev","lint":"pnpm lint:prettier --write && pnpm lint:eslint --fix","lint:check":"pnpm lint:prettier && pnpm lint:eslint","lint:eslint":"eslint . --ext .js,.ts,.vue","lint:prettier":"prettier --check ."},"types":"./dist/index.d.ts","_id":"create-codepen@1.0.1","_integrity":"sha512-XzSWwGCFNeOnNGp3KdCDGaKq4Cp1SvjzpPGQqO0tj1HT3BhksLdl/xQ2ZEY4+0MQ3m1I/K1Fvpm4GGMthtamyA==","_resolved":"/tmp/567e5e014f93c9085bf8151e7de623f1/create-codepen-1.0.1.tgz","_from":"file:create-codepen-1.0.1.tgz","_nodeVersion":"18.18.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-XzSWwGCFNeOnNGp3KdCDGaKq4Cp1SvjzpPGQqO0tj1HT3BhksLdl/xQ2ZEY4+0MQ3m1I/K1Fvpm4GGMthtamyA==","shasum":"084d9d72137031deefd7a9d4b59a6acd0f3b0a49","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-1.0.1.tgz","fileCount":12,"unpackedSize":59892,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIEBOP2Z97B7RrwEE0H4CVY76LaTsdO9LF11hVy/VRLAIhAKtcuOtRV1cEPBqDyAR3QOyi917m6ydqf5u8/4VnyYoY"}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_1.0.1_1696945898523_0.7701405127330248"},"_hasShrinkwrap":false,"contributors":[]},"2.0.0":{"name":"create-codepen","version":"2.0.0","description":"Create CodePen with API","type":"module","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"license":"MIT","author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mister-hope.com"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"nano-staged":{"**/*":"prettier --write --ignore-unknown","*.{js,ts}":"eslint --fix"},"config":{"commitizen":{"path":"./node_modules/cz-git"}},"devDependencies":{"@commitlint/cli":"19.3.0","@commitlint/config-conventional":"19.2.2","commit-and-tag-version":"12.4.1","commitizen":"4.3.0","cz-git":"1.9.1","esbuild":"0.21.3","eslint":"8.57.0","eslint-config-mister-hope":"0.1.0","husky":"9.0.11","nano-staged":"0.8.0","prettier":"3.2.5","rimraf":"5.0.7","rollup":"4.17.2","rollup-plugin-dts":"6.1.1","rollup-plugin-esbuild":"6.1.1","typescript":"5.4.5","vite":"5.2.11"},"engines":{"node":">=18"},"scripts":{"build":"rollup -c rollup.config.ts --configPlugin esbuild","changelog":" commit-and-tag-version --skip.bump --skip.commit --skip.tag","clean":"rimraf dist","commit":"pnpm git-cz","dev":"vite dev","lint":"eslint . --fix && prettier --check --write .","lint:check":"eslint . && prettier --check ."},"_id":"create-codepen@2.0.0","_integrity":"sha512-ehJ0Zw5RSV2G4+/azUb7vEZWRSA/K9cW7HDock1Y9ViDexkgSJUZJRcObdw/YAWeXKjreEQV9l/igNSsJ1yw5A==","_resolved":"/tmp/75f4495df2c809e0e119d8ddda80218d/create-codepen-2.0.0.tgz","_from":"file:create-codepen-2.0.0.tgz","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-ehJ0Zw5RSV2G4+/azUb7vEZWRSA/K9cW7HDock1Y9ViDexkgSJUZJRcObdw/YAWeXKjreEQV9l/igNSsJ1yw5A==","shasum":"155fa090f57608b64ad92018d78e92c2c5c2412f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-2.0.0.tgz","fileCount":5,"unpackedSize":32126,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxAye9C8/FqRphjrrRzAxWq8xs6HGecyL8ZBcE5JimPQIgXPjiQN0DKRwWbyaf9HxKKN1ZXvqdRLv49xbCEaxfKsU="}]},"_npmUser":{"name":"anonymous","email":"mister-hope@outlook.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/create-codepen_2.0.0_1716279466207_0.4578898548733521"},"_hasShrinkwrap":false,"contributors":[]},"2.0.1":{"name":"create-codepen","version":"2.0.1","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"license":"MIT","author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mister-hope.com"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"devDependencies":{"@codecov/rollup-plugin":"1.9.1","@commitlint/cli":"20.3.1","@commitlint/config-conventional":"20.3.1","@types/node":"25.1.0","husky":"9.1.7","nano-staged":"0.9.0","oxfmt":"0.27.0","oxlint":"1.42.0","oxlint-tsgolint":"0.11.3","rimraf":"6.1.2","standard-changelog":"7.0.1","tsdown":"0.20.1","typescript":"5.9.3"},"nano-staged":{"**/*":"oxfmt --no-error-on-unmatched-pattern","*.{js,ts}":"oxlint --fix"},"commitlint":{"extends":["@commitlint/config-conventional"]},"engines":{"node":">=20"},"scripts":{"build":"tsdown","changelog":" conventional-changelog -p angular","clean":"rimraf dist","commit":"pnpm git-cz","dev":"tsdown --watch","lint":"oxlint --type-aware . --fix && oxfmt","lint:check":"oxlint --type-aware . && oxfmt --check"},"_id":"create-codepen@2.0.1","_integrity":"sha512-qFOOo1dxz8/j5Fn8tJHi61/r5ko7sn2RLPZ6HISi5SeKR61y8zA9szsG7UssLzWeBILvN3c1TZNXrz5UR7KlGw==","_resolved":"/tmp/f4e1a85ba7579cfe3baa30c602ad0549/create-codepen-2.0.1.tgz","_from":"file:create-codepen-2.0.1.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-qFOOo1dxz8/j5Fn8tJHi61/r5ko7sn2RLPZ6HISi5SeKR61y8zA9szsG7UssLzWeBILvN3c1TZNXrz5UR7KlGw==","shasum":"83074b5b0b801d6457611643c56b2feef6827e54","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-2.0.1.tgz","fileCount":5,"unpackedSize":30089,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/create-codepen@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCLwR1CcNwkJWOFu5YWy2Q21nLJmDYoSbW/hxHY6yRSSgIhAOQn92TAWVtUhK51t9+i1WkkdMUn0duSnqSg3teKuumZ"}],"size":9026},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fa0dd97f-c092-40b9-a040-ccfea7e5f5d1"}},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-codepen_2.0.1_1769661495583_0.403456739615647"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-01-29T04:38:15.757Z","publish_time":1769661495757,"_source_registry_name":"default","contributors":[]},"2.0.2":{"name":"create-codepen","version":"2.0.2","description":"Create CodePen with API","keywords":["codepen"],"homepage":"https://github.com/Mister-Hope/create-codepen","bugs":{"url":"https://github.com/Mister-Hope/create-codepen/issues"},"license":"MIT","author":{"name":"Mr.Hope","email":"mister-hope@outlook.com","url":"https://mister-hope.com"},"repository":{"type":"git","url":"git+https://github.com/Mister-Hope/create-codepen.git","directory":"packages/theme"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"devDependencies":{"@codecov/rollup-plugin":"1.9.1","@commitlint/cli":"20.5.0","@commitlint/config-conventional":"20.5.0","@mr-hope/tsconfig":"0.0.3","@types/node":"25.5.0","@vitest/coverage-istanbul":"4.1.2","husky":"9.1.7","jsdom":"29.0.1","nano-staged":"0.9.0","oxc-config-hope":"0.1.2","oxfmt":"0.42.0","oxlint":"1.57.0","oxlint-tsgolint":"0.18.1","rimraf":"6.1.3","standard-changelog":"7.0.1","tsdown":"0.21.7","typescript":"6.0.2","vite":"8.0.3","vitest":"4.1.2"},"nano-staged":{"**/*":"oxfmt --no-error-on-unmatched-pattern","*.{js,ts}":"oxlint --fix --deny-warnings --report-unused-disable-directives"},"commitlint":{"extends":["@commitlint/config-conventional"]},"engines":{"node":">=20"},"scripts":{"build":"tsdown --config-loader unrun","changelog":" conventional-changelog -p angular","clean":"rimraf dist","dev":"vite","lint":"oxlint --fix --deny-warnings --report-unused-disable-directives && oxfmt","lint:check":"oxlint --deny-warnings --report-unused-disable-directives && oxfmt --check","test":"vitest run --coverage"},"_id":"create-codepen@2.0.2","_integrity":"sha512-BcA/Sd29ZRo/ug3JlT1yph3dfaLyR7iZKpC6FgqmqQEAc9cVwfPC7pa0MUjCCinetWwoVnybCqtHPKF3FcuCGQ==","_resolved":"/tmp/3e510f8d7cb2c76808543c6b58d1b8f3/create-codepen-2.0.2.tgz","_from":"file:create-codepen-2.0.2.tgz","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-BcA/Sd29ZRo/ug3JlT1yph3dfaLyR7iZKpC6FgqmqQEAc9cVwfPC7pa0MUjCCinetWwoVnybCqtHPKF3FcuCGQ==","shasum":"935b91e6c5a8f19edf50d774d8542d9bd172873e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/create-codepen/-/create-codepen-2.0.2.tgz","fileCount":5,"unpackedSize":33213,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/create-codepen@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCDWxDYEk/IyQo00gfoI25rRDgOdE8XbmF4rDFxAv3fqgIgTIHKcKloAhRjmZfVIQj/xcuPQnuAQyTSQd2gmihXYmY="}],"size":9954},"_npmUser":{"name":"anonymous","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fa0dd97f-c092-40b9-a040-ccfea7e5f5d1"}},"directories":{},"maintainers":[{"name":"anonymous","email":"mister-hope@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/create-codepen_2.0.2_1774925160809_0.9261016479968092"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-03-31T02:46:00.953Z","publish_time":1774925160953,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"2.0.2"},"name":"create-codepen","time":{"created":"2023-06-05T13:17:48.151Z","0.0.1":"2023-06-05T03:04:05.000Z","modified":"2026-03-31T02:46:09.561Z","0.0.2":"2023-06-05T03:13:58.415Z","0.0.3":"2023-06-05T06:08:48.306Z","1.0.0":"2023-10-10T13:17:21.954Z","1.0.1":"2023-10-10T13:51:38.801Z","2.0.0":"2024-05-21T08:17:46.409Z","2.0.1":"2026-01-29T04:38:15.757Z","2.0.2":"2026-03-31T02:46:00.953Z"},"readme":"# create-codepen\n\nA browser library for embedding CodePen content via the CodePen embed API. Zero Node.js dependencies, ESM-only, targets modern browsers (ES2020+).\n\n## Installation\n\n```html\n<script type=\"module\">\n  import { renderCodePen } from \"https://unpkg.com/create-codepen\";\n</script>\n```\n\n## API Reference\n\n### renderCodePen(options, selector?)\n\nRenders a CodePen iframe. If `selector` is provided, embeds inside that element; otherwise opens in a new window.\n\n```ts\nrenderCodePen(options: CodePenOptions, selector?: string | HTMLElement): void\n```\n\n#### Parameters\n\n| Parameter  | Type                    | Description                             |\n| ---------- | ----------------------- | --------------------------------------- |\n| `options`  | `CodePenOptions`        | Embed configuration (see Options below) |\n| `selector` | `string \\| HTMLElement` | Optional target element to embed into   |\n\n#### Example\n\n```html\n<div id=\"pen-container\"></div>\n\n<script type=\"module\">\n  import { renderCodePen } from \"https://unpkg.com/create-codepen\";\n\n  renderCodePen(\n    {\n      \"slug-hash\": \"XWJPxpZ\",\n      user: \"Mamboleoo\",\n      height: 300,\n      \"theme-id\": \"light\",\n      \"default-tab\": \"js,result\",\n    },\n    \"#pen-container\",\n  );\n</script>\n```\n\n---\n\n### loadCodePens(selector?, options?)\n\nAuto-embeds CodePens from DOM elements matching `selector` (default: `.codepen`). Scans for `data-*` attributes on elements and renders embeds accordingly.\n\n```ts\nloadCodePens(selector?: string, options?: CodePenDomOptions): void\n```\n\n#### Example\n\n```html\n<p\n  class=\"codepen\"\n  data-slug-hash=\"XWJPxpZ\"\n  data-user=\"Mamboleoo\"\n  data-height=\"265\"\n  data-theme-id=\"light\"\n  data-default-tab=\"js,result\"\n>\n  See the Pen <a href=\"https://codepen.io/Mamboleoo/pen/XWJPxpZ\">Walkers - How to</a> by Louis\n  Hoebregts (<a href=\"https://codepen.io/Mamboleoo\">@Mamboleoo</a>)\n</p>\n\n<script type=\"module\">\n  import { loadCodePens } from \"https://unpkg.com/create-codepen\";\n  loadCodePens();\n</script>\n```\n\n---\n\n### openCodePens(selector?)\n\nOpens CodePens from DOM elements in a new window instead of embedding.\n\n```ts\nopenCodePens(selector?: string): void\n```\n\n#### Example\n\n```html\n<p\n  class=\"codepen-open\"\n  data-slug-hash=\"XWJPxpZ\"\n  data-user=\"Mamboleoo\"\n  data-theme-id=\"light\"\n  data-default-tab=\"js,result\"\n>\n  See the Pen Walkers - How to by Louis Hoebregts (@Mamboleoo)\n</p>\n\n<script type=\"module\">\n  import { openCodePens } from \"https://unpkg.com/create-codepen\";\n  openCodePens(\".codepen-open\");\n</script>\n```\n\n---\n\n## Options\n\n### General Embed Options\n\nUsed by `renderCodePen()` and `loadCodePens()`.\n\n| Option        | Type                      | Default    | Description                                                                       |\n| ------------- | ------------------------- | ---------- | --------------------------------------------------------------------------------- |\n| `slug-hash`   | `string`                  | —          | CodePen ID (e.g., `XWJPxpZ`). **Required** for non-prefill embeds                 |\n| `user`        | `string`                  | `\"anon\"`   | CodePen username                                                                  |\n| `default-tab` | `string`                  | `\"result\"` | Tab(s) shown initially: `\"html\"`, `\"css\"`, `\"js\"`, `\"result\"`, or comma-separated |\n| `theme-id`    | `string \\| number`        | `0`        | Theme ID (e.g., `\"light\"`)                                                        |\n| `pen-title`   | `string`                  | —          | Title for the embed iframe                                                        |\n| `open`        | `\"true\" \\| \"false\"`       | `\"false\"`  | Open in new window instead of embedding                                           |\n| `editable`    | `\"true\" \\| \"false\"`       | `\"false\"`  | Allow editing in embed                                                            |\n| `preview`     | `\"true\" \\| \"false\"`       | `\"false\"`  | Show preview mode                                                                 |\n| `animations`  | `\"run\" \\| \"stop-after-5\"` | —          | Animation behavior                                                                |\n| `zoom`        | `1 \\| 0.5 \\| 0.25`        | `1`        | Zoom level                                                                        |\n| `token`       | `string`                  | —          | Pen token for private pens                                                        |\n\n---\n\n### Style Options\n\nCustomize the embed iframe appearance.\n\n| Option              | Type                          | Default     | Description                         |\n| ------------------- | ----------------------------- | ----------- | ----------------------------------- |\n| `height`            | `number \\| string`            | `300`       | Iframe height in pixels             |\n| `border`            | `\"none\" \\| \"thin\" \\| \"thick\"` | `\"none\"`    | Border style                        |\n| `border-color`      | `string`                      | `\"#000000\"` | Border color                        |\n| `tab-bar-color`     | `string`                      | `\"#3d3d3e\"` | Tab bar background color            |\n| `tab-link-color`    | `string`                      | `\"#76daff\"` | Tab link color                      |\n| `active-tab-color`  | `string`                      | `\"#cccccc\"` | Active tab background               |\n| `active-link-color` | `string`                      | `\"#000000\"` | Active tab link color               |\n| `link-logo-color`   | `string`                      | `\"#ffffff\"` | CodePen logo color                  |\n| `class`             | `string`                      | —           | Additional CSS class for the iframe |\n| `custom-css-url`    | `string`                      | —           | URL to custom CSS file              |\n\n---\n\n### Prefill Options\n\nCreate a new CodePen with inline code. Used inside the `prefill` property.\n\n```ts\nrenderCodePen({\n  prefill: {\n    title: \"My Pen\",\n    description: \"Description here\",\n    html: \"<div>Hello</div>\",\n    css: \"body { background: #f0f0f0; }\",\n    js: \"console.log('hi')\",\n  },\n});\n```\n\n| Option               | Type                 | Description                                                         |\n| -------------------- | -------------------- | ------------------------------------------------------------------- |\n| `title`              | `string`             | Pen title                                                           |\n| `description`        | `string`             | Pen description                                                     |\n| `head`               | `string`             | HTML content for `<head>`                                           |\n| `tags`               | `string \\| string[]` | Tags for the pen                                                    |\n| `html`               | `string`             | HTML content                                                        |\n| `css`                | `string`             | CSS content                                                         |\n| `js`                 | `string`             | JavaScript content                                                  |\n| `html_pre_processor` | `string`             | HTML preprocessor (e.g., `\"haml\"`, `\"pug\"`, `\"slim\"`)               |\n| `css_pre_processor`  | `string`             | CSS preprocessor (e.g., `\"scss\"`, `\"less\"`, `\"stylus\"`)             |\n| `js_pre_processor`   | `string`             | JS preprocessor (e.g., `\"babel\"`, `\"coffeescript\"`, `\"typescript\"`) |\n| `html_classes`       | `string \\| string[]` | Classes for the `<html>` element                                    |\n| `stylesheets`        | `string \\| string[]` | External CSS URLs                                                   |\n| `scripts`            | `string \\| string[]` | External JS URLs                                                    |\n\n---\n\n## Complete Example\n\n### Embed existing pen with custom styling\n\n```html\n<div id=\"embed\"></div>\n\n<script type=\"module\">\n  import { renderCodePen } from \"https://unpkg.com/create-codepen\";\n\n  renderCodePen(\n    {\n      \"slug-hash\": \"XWJPxpZ\",\n      user: \"Mamboleoo\",\n      height: 400,\n      \"theme-id\": \"light\",\n      \"default-tab\": \"js,result\",\n      border: \"thick\",\n      \"border-color\": \"#76daff\",\n    },\n    \"#embed\",\n  );\n</script>\n```\n\n### Create new pen with prefill\n\n```html\n<div id=\"prefill\"></div>\n\n<script type=\"module\">\n  import { renderCodePen } from \"https://unpkg.com/create-codepen\";\n\n  renderCodePen(\n    {\n      \"default-tab\": \"js,result\",\n      prefill: {\n        title: \"React Demo\",\n        description: \"A simple React example\",\n        html: '<div id=\"root\"></div>',\n        css: `body { font-family: system-ui; }`,\n        js: `document.body.textContent = \"Hello!\";`,\n        css_pre_processor: \"scss\",\n        js_pre_processor: \"babel\",\n      },\n    },\n    \"#prefill\",\n  );\n</script>\n```\n\n### Open in new window\n\n```html\n<button id=\"open-btn\">Open CodePen</button>\n\n<script type=\"module\">\n  import { renderCodePens } from \"https://unpkg.com/create-codepen\";\n\n  document.querySelector(\"#open-btn\").addEventListener(\"click\", () => {\n    renderCodePen({\n      \"slug-hash\": \"XWJPxpZ\",\n      user: \"Mamboleoo\",\n      \"default-tab\": \"js,result\",\n    });\n  });\n</script>\n```","users":{}}