{"id":20507229,"url":"https://github.com/nombrekeff/stml","last_synced_at":"2025-07-30T17:39:35.048Z","repository":{"id":97411316,"uuid":"77279482","full_name":"nombrekeff/STML","owner":"nombrekeff","description":"A simple html preprocessor, just for fun","archived":false,"fork":false,"pushed_at":"2020-02-07T10:28:38.000Z","size":223,"stargazers_count":12,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T05:03:51.217Z","etag":null,"topics":["html","html-preprocessor"],"latest_commit_sha":null,"homepage":"","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/nombrekeff.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,"governance":null}},"created_at":"2016-12-24T11:10:38.000Z","updated_at":"2024-11-22T15:04:10.000Z","dependencies_parsed_at":"2023-04-20T01:31:00.295Z","dependency_job_id":null,"html_url":"https://github.com/nombrekeff/STML","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nombrekeff/STML","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nombrekeff%2FSTML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nombrekeff%2FSTML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nombrekeff%2FSTML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nombrekeff%2FSTML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nombrekeff","download_url":"https://codeload.github.com/nombrekeff/STML/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nombrekeff%2FSTML/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267912106,"owners_count":24164491,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"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":["html","html-preprocessor"],"created_at":"2024-11-15T20:03:57.300Z","updated_at":"2025-07-30T17:39:35.008Z","avatar_url":"https://github.com/nombrekeff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stimule / STML\nA simple html preprocessor made with nodejs, making It for fun\n\n[![npm version](https://badge.fury.io/js/stimule.svg)](https://badge.fury.io/js/loggin-js)\n[![npm](https://img.shields.io/npm/dw/stimule.svg?colorB=blue)](https://www.npmjs.com/package/loggin-js) [![Greenkeeper badge](https://badges.greenkeeper.io/nombrekeff/STML.svg)](https://greenkeeper.io/)\n\n### Overview\n\n```sass\ndiv#target(.bold .row)[click=\"doX()\"]\n  div(.col-4)\n    span \"Heyy\"\n  div(.col-6)\n    span \"You like stones?\"\n```\nThe above piece of **stml** syntax will result in:\n\n```sass\n\u003cdiv id=\"target\" class=\"bold row\" click=\"doX()\"\u003e\n  \u003cdiv class=\"col-4\"\u003e\n    \u003cspan\u003eHeyy\u003c/span\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"col-6 centered\"\u003e\n    \u003cspan\u003eYou like stones?\u003c/span\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n#### How to install it?\nnpm:\n```shell\n$ npm install stimule -g\n```\n\nif you downloaded the project from github:\n```shell\n$ cd name/of/the/project\n$ npm install -g\n```\n#### How to use it?\n###### Via command line version:\n```shell\n$ cd where/the/stmlfile/is\n$ stimule \u003cinput_file\u003e [output_file]\n```\nYou have to call stimule command with two parameters:\n\n1. **input_file**  `#required`: should be a stml file\n\n2. **output_file**  `#optional`:  the name/path for the output html file, defaults to the name of **input_file**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnombrekeff%2Fstml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnombrekeff%2Fstml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnombrekeff%2Fstml/lists"}