New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ext-map

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ext-map

just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.2K
decreased by-16.29%
Maintainers
1
Weekly downloads
 
Created
Source

ext-map NPM version

just an object that maps src file extensions to dest file extensions as key/value pairs (e.g. {'.less': '.css'}). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.

Install with npm

npm i ext-map --save

Run tests

npm test

Usage

var exts = require('ext-map');

Mapped extensions

Pull requests to add mappings would be appreciated.

HTML

  • .md: => .html
  • .hbs: => .html
  • .slim: => .html
  • .swig: => .html
  • .tmpl: => .html
  • .html: => .html
  • .htm: => .html

css

  • .less: => .css
  • .styl: => .css
  • .sass: => .css
  • .scss: => .css
  • .css: => .css

js

  • .coffee: => .js
  • .ls: => .js
  • .ts: => .js
  • .js: => .js

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014-2015 Jon Schlinkert
Released under the MIT license


This file was generated by verb on January 15, 2015.

Keywords

FAQs

Package last updated on 15 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc