{"id":28713211,"url":"https://github.com/andreaspitzer/presets","last_synced_at":"2025-06-25T07:37:42.107Z","repository":{"id":57329957,"uuid":"107791011","full_name":"andreaspitzer/presets","owner":"andreaspitzer","description":"🎛 Easily use shareable presets.","archived":false,"fork":false,"pushed_at":"2018-11-18T08:12:13.000Z","size":140,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-12T18:16:31.948Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreaspitzer.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-10-21T15:18:28.000Z","updated_at":"2017-10-21T15:20:00.000Z","dependencies_parsed_at":"2022-09-01T09:40:42.571Z","dependency_job_id":null,"html_url":"https://github.com/andreaspitzer/presets","commit_stats":null,"previous_names":["andreaspitzer/presets"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreaspitzer/presets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpresets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpresets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpresets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpresets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreaspitzer","download_url":"https://codeload.github.com/andreaspitzer/presets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreaspitzer%2Fpresets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259901385,"owners_count":22929225,"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":"2025-06-15T00:08:38.793Z","updated_at":"2025-06-15T00:08:43.657Z","avatar_url":"https://github.com/andreaspitzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# presets\n\n[![build status](https://img.shields.io/travis/AndreasPizsa/presets.svg)](https://travis-ci.org/AndreasPizsa/presets)\n[![code coverage](https://img.shields.io/codecov/c/github/AndreasPizsa/presets.svg)](https://codecov.io/gh/AndreasPizsa/presets)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/AndreasPizsa/presets.svg)](LICENSE)\n\n\u003e Easily load shareable presets. Supports `extends`.\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n  * [kebab-case and camelCase](#kebab-case-and-camelcase)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install presets\n```\n\n[yarn][]:\n\n```sh\nyarn add presets\n```\n\n\n## Usage\n\n#### From package.json\n\n```js\nconst loadPresets = require('presets');\nconst presets = new loadPresets('./package.json');\n```\n\n#### From shared presets\n\n```js\nconst loadPresets = require('presets');\nconst presets = new loadPresets('presets-my-awesome-settings');\n```\n\n#### from a package.json\n\n```js\nconst pkg = require('./package.json')\nconst presets = new loadPresets(pkg.xo);\n```\n\n### kebab-case and camelCase\n\n`presets` can automatically lookup file names to camelCase and kebab-case.\n\n\n## Contributors\n\n| Name              | Website                           |\n| ----------------- | --------------------------------- |\n| **Andreas Pizsa** | \u003chttps://github.com/AndreasPizsa\u003e |\n\n\n## License\n\n[MIT](LICENSE) © [Andreas Pizsa](https://github.com/AndreasPizsa)\n\n\n## \n\n[npm]: https://www.npmjs.com/\n\n[yarn]: https://yarnpkg.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaspitzer%2Fpresets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreaspitzer%2Fpresets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreaspitzer%2Fpresets/lists"}