Skip to content

Feiyang1/awesome-typed-sass-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published