Socket
Socket
Sign inDemoInstall

babel-plugin-transform-wxs

Package Overview
Dependencies
53
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-plugin-transform-wxs

Babel plugin for [wxs](https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxs/) environment.


Version published
Weekly downloads
5
Maintainers
1
Install size
2.63 MB
Created
Weekly downloads
 

Readme

Source

babel-plugin-transform-wxs

Babel plugin for wxs environment.

Example

In

exports.date = new Date(timestamp)
exports.regex_1 = new RegExp(pattern, flags)
exports.regex_2 = /pattern/i

Out

var exports = module.exports;
exports.date = getDate(timestamp)
exports.regex_1 = getRegExp(pattern, flags)
exports.regex_2 = getRegExp("pattern", "i")

FAQs

Last updated on 21 May 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc