{"id":17270531,"url":"https://github.com/deckdom/sasspect","last_synced_at":"2026-05-16T08:07:03.094Z","repository":{"id":58242498,"uuid":"86002178","full_name":"deckdom/sasspect","owner":"deckdom","description":"Simple type-check library for minimalistic sass-tests","archived":false,"fork":false,"pushed_at":"2017-11-10T21:06:28.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T19:19:43.984Z","etag":null,"topics":["linting","sass","types","typesafety"],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deckdom.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":"2017-03-23T22:08:54.000Z","updated_at":"2018-01-23T22:06:01.000Z","dependencies_parsed_at":"2022-08-31T04:22:11.512Z","dependency_job_id":null,"html_url":"https://github.com/deckdom/sasspect","commit_stats":null,"previous_names":["entailment/sasspect"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deckdom/sasspect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckdom%2Fsasspect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckdom%2Fsasspect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckdom%2Fsasspect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckdom%2Fsasspect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deckdom","download_url":"https://codeload.github.com/deckdom/sasspect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deckdom%2Fsasspect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264169129,"owners_count":23567251,"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":["linting","sass","types","typesafety"],"created_at":"2024-10-15T08:19:49.693Z","updated_at":"2025-12-12T04:58:20.359Z","avatar_url":"https://github.com/deckdom.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sasspect\n\u003e The simple sass/scss type-guard library\n\nSasspect is a small library for sass/scss for type-guarding. With proper type-guarding it allows your code to be more robust.\n\n## Usage\n```scss\n@function hello-world($name) {\n  // Basic types\n  $name: expect-string($name);\n  content: \"Hello #{$string}!\";\n}\n\n@function calculation($first, $second) {\n  $first: expect-number($first); // Expects any number (with/without unit)\n  $second: expect-unit($second); // Expect a number with a unit (no restrictions)\n  @return $first * $second;\n}\n```\n\nFor a full documentation on all function and on how to use them, check out the [Wiki]()\n\n## Installation\n\nYou can install sasspect via packagemanagers or by cloning/downloading the `sasspect.scss`-File. After that you just have it into your project and use it.\n**Be SURE** that you import sasspect before you try to use any functions!\n\n### npm\n```\nnpm install sasspect\n```\n\n### bower\n```\nbower install sasspect\n```\n\n### Git\n```\ngit clone git@github.com:entailment/sasspect.git\n```\n\n## LibSass include-path\nLibSass allows you to specify the paths to where to search for files if it can't find it directly. Here you can tell it to look for Sasspect in which ever location you have it installed. For more information, check the [node-sass documentation about it](https://github.com/sass/node-sass#includepaths)\n\nAssuming that you have this project installed via npm, this is how the configuration would look like for __node-sass__:\n\n```scss\n// Node-Sass configuration\n{\n  includePaths: [\n    'node_modules/sasspect'\n  ]\n}\n\n// Your sass/scss file\n@import 'sasspect';\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckdom%2Fsasspect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeckdom%2Fsasspect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeckdom%2Fsasspect/lists"}