{"id":20261299,"url":"https://github.com/actnwit/esbuild-plugin-shaderity","last_synced_at":"2026-06-09T10:31:17.890Z","repository":{"id":57686092,"uuid":"479692233","full_name":"actnwit/esbuild-plugin-shaderity","owner":"actnwit","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-08T08:42:06.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-24T08:11:51.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actnwit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-09T10:26:51.000Z","updated_at":"2025-05-08T08:42:10.000Z","dependencies_parsed_at":"2022-09-18T23:13:24.895Z","dependency_job_id":null,"html_url":"https://github.com/actnwit/esbuild-plugin-shaderity","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/actnwit/esbuild-plugin-shaderity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fesbuild-plugin-shaderity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fesbuild-plugin-shaderity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fesbuild-plugin-shaderity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fesbuild-plugin-shaderity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actnwit","download_url":"https://codeload.github.com/actnwit/esbuild-plugin-shaderity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actnwit%2Fesbuild-plugin-shaderity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34103355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T11:25:10.796Z","updated_at":"2026-06-09T10:31:17.870Z","avatar_url":"https://github.com/actnwit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esbuild-plugin-shaderity\n\n## What's this?\n\nA ESBuild plugin for [shaderity](https://github.com/actnwit/shaderity), which is a web-oriented shader utility.\n\n## Config\n\nWrite a node program file as following:\n\n```javascript\n// build.js\nconst esbuild = require('esbuild');\nconst shaderity  = require('esbuild-plugin-shaderity');\nesbuild.build({\n  entryPoints: ['./src/index.js'],\n  bundle: true,\n  outdir: 'dist',\n  plugins: [\n    shaderity(),\n  ]\n});\n```\n\n## Code Sample\n\n```glsl\n// simple.frag\nprecision mediump float;\nin vec4 vColor;\n\nvoid main() {\n  gl_FlagColor = vColor;\n}\n```\n\n```javascript\n// ./src/index.js\nimport simpleFragmentShader from './simple.frag';\n\nconsole.log(simpleFragmentShader);\n```\n\n## Build\n\nRun the written build.js with node.\n\n```bash\n$ node build.js\n```\n\nThe built file must be output to the ./dist directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factnwit%2Fesbuild-plugin-shaderity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factnwit%2Fesbuild-plugin-shaderity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factnwit%2Fesbuild-plugin-shaderity/lists"}