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
- Make css modules available for project using SASS and Typescript
- Keep dependecies up to date, e.g. node-sass and typed-css-modules
Please refer to typed-css-modules.
The tool supports ~ import syntax for importing scss files from node_modules. More information can be found here.
npm install -g awesome-typed-sass-modules
see all options
atsm -h
atsm -p example/**/*.scss