{"id":16346626,"url":"https://github.com/matype/css-annotation-block","last_synced_at":"2025-11-08T10:30:27.448Z","repository":{"id":57210902,"uuid":"31956336","full_name":"matype/css-annotation-block","owner":"matype","description":"A css-annotation module to return the specific nodes","archived":false,"fork":false,"pushed_at":"2017-03-30T22:53:01.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T13:03:27.981Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matype.png","metadata":{"files":{"readme":"readme.markdown","changelog":"changelog","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":"2015-03-10T12:33:22.000Z","updated_at":"2019-08-18T16:40:28.000Z","dependencies_parsed_at":"2022-09-01T04:22:46.895Z","dependency_job_id":null,"html_url":"https://github.com/matype/css-annotation-block","commit_stats":null,"previous_names":["morishitter/css-annotation-block","matype/css-annotation-block"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-annotation-block","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-annotation-block/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-annotation-block/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matype%2Fcss-annotation-block/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matype","download_url":"https://codeload.github.com/matype/css-annotation-block/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550232,"owners_count":19657541,"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":[],"created_at":"2024-10-11T00:35:49.449Z","updated_at":"2025-11-08T10:30:27.386Z","avatar_url":"https://github.com/matype.png","language":"JavaScript","readme":"# css-annotation-block [![Build Status](https://travis-ci.org/morishitter/css-annotation-block.svg)](https://travis-ci.org/morishitter/css-annotation-block)\n\nA [css-annotation](https://github.com/morishitter/css-annotation-block) module to return the specific nodes\n\n## Install\n\n```shell\n$ npm install css-annotation-block\n```\n\n## Example\n\n`input.css`:\n\n```css\n/* @start foo */\n\n.class {\n   font-size: 12px;\n}\n\n/* @end foo */\n```\n\n```js\nvar fs = require('fs')\nvar cssAnnotationBlock = require('css-annotation-block')\n\nvar css = fs.readFileSync('input.css', 'utf-8').trim()\n\ncssAnnotationBlock(css)\n/* Return: [ { name: 'foo', nodes: [ [Object] ] } ] */\n```\n\n`name` is the name of its block.\n`nodes` is PostCSS's Node object.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Masaaki Morishita\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fcss-annotation-block","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatype%2Fcss-annotation-block","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatype%2Fcss-annotation-block/lists"}