{"id":15690236,"url":"https://github.com/jaywcjlove/code-example","last_synced_at":"2025-04-30T08:12:27.291Z","repository":{"id":32772926,"uuid":"142174326","full_name":"jaywcjlove/code-example","owner":"jaywcjlove","description":"Language code example \u0026 sample.","archived":false,"fork":false,"pushed_at":"2025-03-24T17:54:28.000Z","size":357,"stargazers_count":9,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T08:12:19.406Z","etag":null,"topics":["language","languages","sample-code"],"latest_commit_sha":null,"homepage":"https://jaywcjlove.github.io/code-example","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaywcjlove.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"custom":"https://jaywcjlove.github.io/#/sponsor"}},"created_at":"2018-07-24T14:59:08.000Z","updated_at":"2025-04-21T21:15:36.000Z","dependencies_parsed_at":"2023-12-20T14:35:05.519Z","dependency_job_id":"32527784-903e-4fb0-9899-05de564f9bd5","html_url":"https://github.com/jaywcjlove/code-example","commit_stats":{"total_commits":87,"total_committers":3,"mean_commits":29.0,"dds":"0.14942528735632188","last_synced_commit":"bdac3913609b22805fdeebda55e9fe23b4d57c5d"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcode-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcode-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcode-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fcode-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywcjlove","download_url":"https://codeload.github.com/jaywcjlove/code-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251666337,"owners_count":21624295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["language","languages","sample-code"],"created_at":"2024-10-03T18:08:22.721Z","updated_at":"2025-04-30T08:12:27.252Z","avatar_url":"https://github.com/jaywcjlove.png","language":"JavaScript","funding_links":["https://jaywcjlove.github.io/#/sponsor"],"categories":[],"sub_categories":[],"readme":"Code Sample\n===\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![NPM Downloads](https://img.shields.io/npm/dm/code-example.svg?style=flat)](https://github.com/jaywcjlove/code-example)\n[![NPM Version](https://img.shields.io/npm/v/code-example.svg)](https://www.npmjs.com/package/code-example)\n[![CI](https://github.com/jaywcjlove/code-example/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/code-example/actions/workflows/ci.yml)\n\nLanguage code example \u0026 sample.\n\n## Installation\n\n```bash\nnpm install code-example --save\n```\n\n## Using\n\n```js\nimport('code-example/lib/php.js').then((data) =\u003e {\n  console.log('Language PHP Code Example:', data.default);\n});\n// load txt file\n// https://github.com/microsoft/monaco-editor/tree/gh-pages/index/samples\nimport('code-example/txt/sample.php.txt').then((data) =\u003e {\n  console.log('Language PHP Code Example:', data.default);\n});\n```\n\n## Language\n\n```bash\ndiff.lhs.txt                sample.freemarker2.txt      sample.mysql.txt            sample.sb.txt\ndiff.rhs.txt                sample.fsharp.txt           sample.nginx.txt            sample.scala.txt\nsample.abap.txt             sample.go.txt               sample.objective-c.txt      sample.scheme.txt\nsample.aes.txt              sample.graphql.txt          sample.pascal.txt           sample.scss.txt\nsample.apex.txt             sample.handlebars.txt       sample.pascaligo.txt        sample.shell.txt\nsample.azcli.txt            sample.hcl.txt              sample.perl.txt             sample.sol.txt\nsample.bat.txt              sample.html.txt             sample.pgsql.txt            sample.sparql.txt\nsample.bicep.txt            sample.ini.txt              sample.php.txt              sample.sql.txt\nsample.brainfuck.txt        sample.java.txt             sample.pla.txt              sample.st.txt\nsample.c.txt                sample.javascript.txt       sample.plaintext.txt        sample.stylus.txt\nsample.cameligo.txt         sample.json.txt             sample.postiats.txt         sample.swift.txt\nsample.clike.txt            sample.jsx.txt              sample.powerquery.txt       sample.systemverilog.txt\nsample.clojure.txt          sample.julia.txt            sample.powershell.txt       sample.tcl.txt\nsample.coffeescript.txt     sample.kotlin.txt           sample.proto.txt            sample.toml.txt\nsample.cpp.txt              sample.less.txt             sample.pug.txt              sample.tsx.txt\nsample.csharp.txt           sample.lex.txt              sample.python.txt           sample.twig.txt\nsample.csp.txt              sample.lexon.txt            sample.qsharp.txt           sample.typescript.txt\nsample.css.txt              sample.liquid.txt           sample.r.txt                sample.vb.txt\nsample.dart.txt             sample.livescript.txt       sample.razor.txt            sample.vbscript.txt\nsample.dockerfile.txt       sample.lua.txt              sample.redis.txt            sample.verilog.txt\nsample.ecl.txt              sample.m3.txt               sample.redshift.txt         sample.vue.txt\nsample.elixir.txt           sample.markdown.txt         sample.restructuredtext.txt sample.xml.txt\nsample.erlang.txt           sample.mips.txt             sample.ruby.txt             sample.yaml.txt\nsample.flow9.txt            sample.msdax.txt            sample.rust.txt\n```\n\n## Contributors\n\nAs always, thanks to our amazing contributors!\n\n\u003ca href=\"https://github.com/jaywcjlove/code-example/graphs/contributors\"\u003e\n  \u003cimg src=\"https://jaywcjlove.github.io/code-example/CONTRIBUTORS.svg\" /\u003e\n\u003c/a\u003e\n\nMade with [github-action-contributors](https://github.com/jaywcjlove/github-action-contributors).\n\n## License\n\nLicensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fcode-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywcjlove%2Fcode-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fcode-example/lists"}