{"id":15066615,"url":"https://github.com/forthedamn/next-typed-css","last_synced_at":"2025-06-17T07:40:02.632Z","repository":{"id":32835385,"uuid":"143976426","full_name":"forthedamn/next-typed-css","owner":"forthedamn","description":"Import `.css .scss` files in your Next.js project with typed css or sass","archived":false,"fork":false,"pushed_at":"2024-08-28T05:44:36.000Z","size":302,"stargazers_count":13,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T12:21:49.088Z","etag":null,"topics":["css","css-module","next","next-css","next-plugin","next-sass","sass","typed-css","typescript"],"latest_commit_sha":null,"homepage":"","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/forthedamn.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-08T07:23:56.000Z","updated_at":"2022-03-29T07:34:40.000Z","dependencies_parsed_at":"2024-06-21T16:53:20.011Z","dependency_job_id":"f48ba366-6b84-4964-b407-d5979f2f4189","html_url":"https://github.com/forthedamn/next-typed-css","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthedamn%2Fnext-typed-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthedamn%2Fnext-typed-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthedamn%2Fnext-typed-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthedamn%2Fnext-typed-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forthedamn","download_url":"https://codeload.github.com/forthedamn/next-typed-css/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248226358,"owners_count":21068187,"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":["css","css-module","next","next-css","next-plugin","next-sass","sass","typed-css","typescript"],"created_at":"2024-09-25T01:09:52.868Z","updated_at":"2025-04-10T13:43:34.140Z","avatar_url":"https://github.com/forthedamn.png","language":"JavaScript","readme":"# Next.js + CSS or Sass + Typescript\n\n### next-typed-css@latest Support next.js 7 \u0026 8\n\n\u003e next.js 6 plz use next-typed-css@0.2.1 *\n\nImport `.css(.css)` files in your Next.js project with TypeScript typings\n\nFork from next-typed-css and change node-sass to sass.\n\n![https://s0.meituan.net/bs/tempfs/file/zhongguoxin/cap1.gif](https://s0.meituan.net/bs/tempfs/file/zhongguoxin/cap1.gif)\n\n## Installation\n\n```\nnpm install --save next-typed-css\n```\n\nor\n\n```\nyarn add next-typed-css\n```\n\n## Usage with CSS\n\nMost config same as [@zeit/next-css](https://github.com/zeit/next-plugins/tree/master/packages/next-css)\n\n\n## Difference\n\n### Use typings CSS with Typescript\n\nTyping css based on [typings-for-css-modules-loader](https://github.com/Jimdo/typings-for-css-modules-loader)\n\n```\n// next.config.js\nconst withCSS = require('next-typed-css')\nmodule.exports = withCSS({\n  // no need to set 'cssModule: true' again\n  tCssModules: true\n  ignoreDts: true,\n  cssLoaderOptions: {\n    // typings-for-css-modules-loader config here\n    namedExport: true,\n  }\n})\n```\n\n## Usage with Sass\n\nMost config same as [@zeit/next-sass](https://github.com/zeit/next-plugins/tree/master/packages/next-sass)\n\n\n## Difference\n\n### Use typings Sass with Typescript\n\n```\n// next.config.js\nconst withSass = require('next-typed-css/sass')\nmodule.exports = withSass({\n  // no need to set 'cssModule: true' again\n  tCssModules: true,\n   ignoreDts: true,\n  cssLoaderOptions: {\n    // typings-for-css-modules-loader config here\n    namedExport: true\n  }\n})\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforthedamn%2Fnext-typed-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforthedamn%2Fnext-typed-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforthedamn%2Fnext-typed-css/lists"}