{"id":23081162,"url":"https://github.com/unfold/retina","last_synced_at":"2025-04-03T14:15:06.432Z","repository":{"id":5374872,"uuid":"6562091","full_name":"unfold/retina","owner":"unfold","description":"CSS processor which adds retina declarations where retina version images are found, generates scaled down non-retina images and updates the existing stylesheet","archived":false,"fork":false,"pushed_at":"2013-05-11T11:58:36.000Z","size":156,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-10T11:19:46.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://unfold.github.io/retina","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unfold.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-06T12:56:47.000Z","updated_at":"2013-10-22T02:53:45.000Z","dependencies_parsed_at":"2022-08-26T01:42:56.476Z","dependency_job_id":null,"html_url":"https://github.com/unfold/retina","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfold%2Fretina","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfold%2Fretina/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfold%2Fretina/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unfold%2Fretina/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unfold","download_url":"https://codeload.github.com/unfold/retina/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247014521,"owners_count":20869376,"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-12-16T13:48:22.089Z","updated_at":"2025-04-03T14:15:06.366Z","avatar_url":"https://github.com/unfold.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build status](https://secure.travis-ci.org/unfold/retina.png)](http://travis-ci.org/unfold/retina)\n\n### Retina\n\nRetina analyzes your existing CSS files and generates missing non-retina resolution \nimages by resizing their retina resolution counterpart. The result is an updated \nCSS stylesheet complete with media queries.\n\nThis means you'll be able to author your CSS files as if you were only working with\nstandard resolution images.\n\n#### No strings attached\n\nInstead of relying on a specific [framework](http://compass-style.org) or \n[build system](http://gruntjs.com) Retina will work with anything that outputs a CSS file.\n\n## Installation\n\n    $ npm install retina\n\n### Usage\n\n    $ retina [options] [file]\n\n### Options\n\n    -t, --target \u003cpath\u003e   target path relative to input\n    -s, --source \u003cpath\u003e   source path relative to input (required when stdin is used)\n    -h, --help            output usage information\n    -V, --version         output the version number\n\n### Examples\n\n#### Generating downscaled images and updating rules of an existing CSS file:\n\n    $ retina -t images/scaled main.css \u003e main.scaled.css\n\n#### Using Retina with [SASS](http://sass-lang.com):\n\n    $ sass css/main.scss | retina --source css --target images/scaled \u003e main.css\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2012 Simen Brekken \u0026lt;simen@unfold.no\u0026gt;\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfold%2Fretina","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funfold%2Fretina","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funfold%2Fretina/lists"}