Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.14 KB

Creates TypeScript type definition files from SASS files.

It is a wrapper for typed-css-modules.

I decided to make this package because I want to use css modules with sass and typescript in my project. There are packages trying to solve the same problem, buy they either don't install correctly for me or reference very old version of typed-css-modules, and they appear to not be actively maintained. These are the 2 packages I have tried:

https://github.com/keithbloom/typed-sass-modules

https://github.com/TheMallen/typed-css-modules

The goal of this package is to

  1. Make css modules available for project using SASS and Typescript
  2. Keep dependecies up to date, e.g. node-sass and typed-css-modules

Options

Please refer to typed-css-modules.

~ Imports

The tool supports ~ import syntax for importing scss files from node_modules. More information can be found here.

CLI

npm install -g awesome-typed-sass-modules

see all options

atsm -h
atsm -p example/**/*.scss