{"id":20689293,"url":"https://github.com/stylescape/example-npm","last_synced_at":"2026-05-29T12:01:57.651Z","repository":{"id":253362743,"uuid":"843274881","full_name":"stylescape/example-npm","owner":"stylescape","description":"Stylescape Example | NPM","archived":false,"fork":false,"pushed_at":"2026-05-24T06:09:41.000Z","size":881,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"dev","last_synced_at":"2026-05-24T08:10:10.831Z","etag":null,"topics":["npm","stylescape"],"latest_commit_sha":null,"homepage":"https://scape.style","language":"HTML","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/stylescape.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"scape-foundation","open_collective":"scape"}},"created_at":"2024-08-16T06:45:13.000Z","updated_at":"2026-05-24T06:09:39.000Z","dependencies_parsed_at":"2026-04-05T08:03:53.770Z","dependency_job_id":null,"html_url":"https://github.com/stylescape/example-npm","commit_stats":null,"previous_names":["stylescape/example-npm"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/stylescape/example-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stylescape","download_url":"https://codeload.github.com/stylescape/example-npm/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stylescape%2Fexample-npm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33650712,"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-05-29T02:00:06.066Z","response_time":107,"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":["npm","stylescape"],"created_at":"2024-11-16T23:09:07.266Z","updated_at":"2026-05-29T12:01:57.646Z","avatar_url":"https://github.com/stylescape.png","language":"HTML","funding_links":["https://github.com/sponsors/scape-foundation","https://opencollective.com/scape"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"right\"\u003e\n\n[![GitHub License](https://img.shields.io/github/license/stylescape/example-npm?style=flat-square\u0026logo=readthedocs\u0026logoColor=FFFFFF\u0026label=\u0026labelColor=%23041B26\u0026color=%23041B26\u0026link=LICENSE)](https://github.com/stylescape/example-npm/blob/main/LICENSE)\n[![devContainer](https://img.shields.io/badge/devContainer-23041B26?style=flat-square\u0026logo=Docker\u0026logoColor=%23FFFFFF\u0026labelColor=%23041B26\u0026color=%23041B26)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/stylescape/example-npm)\n[![StackBlitz](https://img.shields.io/badge/StackBlitz-23041B26?style=flat-square\u0026logo=StackBlitz\u0026logoColor=%23FFFFFF\u0026labelColor=%23041B26\u0026color=%23041B26)](https://stackblitz.com/github/stylescape/example-npm/tree/main?file=src%2Findex.html)\n\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/stylescape/brand/master/src/logo/logo-transparant.png\" width=\"20%\" alt=\"Stylescape Logo\"\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\" style='border-bottom: none;'\u003eStylescape + NPM\u003c/h1\u003e\n\u003ch3 align=\"center\"\u003eExample Project\u003c/h3\u003e\n\n[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/stylescape/example-npm)\n\n---\n\nThis example demonstrates how to use [Stylescape](https://scape.style) with npm and Sass compilation.\n\n## Features\n\n- **Sass Compilation**: Import Stylescape's source Sass files for customization\n- **Auto-initialization**: Components with `data-ss` attributes initialize automatically\n- **Live Reload**: Development server with automatic CSS recompilation\n\n## Installation\n\n```sh\ngit clone https://github.com/stylescape/example-npm.git\ncd example-npm\nnpm install\n```\n\n## Usage\n\n### Development\n\nStart the development server with live reload:\n\n```sh\nnpm start\n```\n\nThis runs the server at `http://localhost:3000` and watches for Sass changes.\n\n### Build\n\nCompile Sass to CSS:\n\n```sh\nnpm run build\n```\n\n## Project Structure\n\n```\n├── src/\n│   ├── index.html      # Main HTML file\n│   ├── js/\n│   │   └── main.js     # JavaScript entry point\n│   └── scss/\n│       └── main.scss   # Sass entry point (imports Stylescape)\n├── css/                # Compiled CSS output\n└── package.json\n```\n\n## Stylescape Components\n\nUse `data-ss` attributes for auto-initialization:\n\n```html\n\u003c!-- Sidebar --\u003e\n\u003caside data-ss=\"aside\"\u003e...\u003c/aside\u003e\n\n\u003c!-- Accordion --\u003e\n\u003cdiv data-ss=\"accordion\"\u003e...\u003c/div\u003e\n\n\u003c!-- Theme Toggle --\u003e\n\u003cbutton data-ss=\"theme-toggle\"\u003e...\u003c/button\u003e\n```\n\n---\n\n## Colophon\n\nMade with ❤️ by **[Scape Agency](https://www.scape.agency)**\n\n### Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n### License\n\nThis project is licensed under the MIT license. See the [LICENSE](LICENSE) file for details.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylescape%2Fexample-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstylescape%2Fexample-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstylescape%2Fexample-npm/lists"}