All Projects → akameco → S2s

akameco / S2s

Licence: mit
Coding time Compile. A tool to write code fastest.

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
flow
126 projects
flowtype
47 projects

Projects that are alternatives of or similar to S2s

Babel Plugin Partial Application
[DEPRECATED] Please use https://github.com/citycide/param.macro
Stars: ✭ 60 (-76.38%)
Mutual labels:  babel, babel-plugin, plugin
Babel Plugin Transform React To Vue
Transform React component to Vue component (beta)
Stars: ✭ 157 (-38.19%)
Mutual labels:  babel, plugin
Maintainer
👨‍💻 🐳 Generate personal daily reports or summary, AUTHORS, CONTRIBUTING, CHANGELOG and so on for GitHub user or repository.
Stars: ✭ 152 (-40.16%)
Mutual labels:  automation, generator
Sinn
a blog based on of react,webpack3,dva,redux,material-ui,fetch,generator,markdown,nodejs,koa2,mongoose,docker,shell,and async/await 基于react+koa2技术栈的个人开源博客系统
Stars: ✭ 175 (-31.1%)
Mutual labels:  babel, generator
Generator Jekyll Starter Kit
🚀 Jekyll Progressive Web App Generator.
Stars: ✭ 139 (-45.28%)
Mutual labels:  automation, generator
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-44.49%)
Mutual labels:  babel, generator
Param.macro
Partial application syntax and lambda parameters for JavaScript, inspired by Scala's `_` & Kotlin's `it`
Stars: ✭ 170 (-33.07%)
Mutual labels:  babel, babel-plugin
Simple Boilerplate
A simple webpack boilerplate for your comfortable work with HTML, JS and CSS.
Stars: ✭ 116 (-54.33%)
Mutual labels:  prettier, babel
Mullet
Mullet Stack: Facebook in the front. Walmart in the back. (React, Hapijs, Node)
Stars: ✭ 194 (-23.62%)
Mutual labels:  prettier, babel
Babel Plugin React Intl Auto
i18n for the component age. Auto management react-intl ID.
Stars: ✭ 203 (-20.08%)
Mutual labels:  babel, babel-plugin
Xwind
Tailwind CSS as a templating language in JS and CSS-in-JS
Stars: ✭ 249 (-1.97%)
Mutual labels:  babel, babel-plugin
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (-46.46%)
Mutual labels:  automation, generator
Babel Plugin Polished
Compile polished helper functions at build time
Stars: ✭ 133 (-47.64%)
Mutual labels:  babel, babel-plugin
Babel Plugin Transform Typescript Metadata
Babel plugin to emit decorator metadata like typescript compiler
Stars: ✭ 142 (-44.09%)
Mutual labels:  babel, babel-plugin
Babel Plugin Runtyper
⚡️ Runtime type-checker for JavaScript
Stars: ✭ 117 (-53.94%)
Mutual labels:  babel, babel-plugin
Babel Plugin React Html Attrs
Babel plugin which transforms HTML and SVG attributes on JSX host elements into React-compatible attributes
Stars: ✭ 170 (-33.07%)
Mutual labels:  babel, babel-plugin
React Starter Kit
React, Redux, Webpack, Material UI, Boostrap 4, Code Splitting, HMR
Stars: ✭ 229 (-9.84%)
Mutual labels:  prettier, babel
Js Proposal Algebraic Effects
📐Let there be algebraic effects in JS
Stars: ✭ 110 (-56.69%)
Mutual labels:  babel, babel-plugin
Babel Plugin Prismjs
A babel plugin to use PrismJS with standard bundlers.
Stars: ✭ 114 (-55.12%)
Mutual labels:  babel, babel-plugin
Babel Plugin Macros
🎣 Allows you to build simple compile-time libraries
Stars: ✭ 2,366 (+831.5%)
Mutual labels:  babel, babel-plugin

s2s


Build Status Build status Coverage Status tested with jest styled with prettier lerna MIT License Donate Code of Conduct Examples All Contributors

日本語 (readme の最新版は日本語です)

Ultra-fast coding by AST assist

See Examples examples

Concept

Monitor your coding and generate code in real time.

When the file names match, a single Babel plugin is executed and the formatted code is reflected in the editor.

  • You can use any editor.
  • Just Babel Plugin. No lock in.

Articles

日本語

Users

SSconnect/ssconnect

If your company or project is using s2s, please open a PR and add yourself to this list (in alphabetical order please)

Quick Start

This is short example. It is enough to know the power of s2s :)

It's a first example that s2s initialize variables with the type infomations in Flow.

https://gyazo.com/c6de73c7c9044520fbbca95881c2a927

Preparation

Clone the repository and install dependencies.

$ git clone --depth=1 [email protected]:akameco/s2s.git
$ cd examples/getting-started
$ yarn

Usage

Check out s2s.config.js in the root of the project. This is a setting file.

watch set an direcotry that s2s watches, and plugins set an array of the plugins.

You can write easy the file if you are familer with webpack.

For more infomations, see Config.

module.exports = {
  watch: './**/*.js',
  plugins: [
    {
      test: /.*.js$/,
      plugin: ['s2s-variable-initializing'],
    },
  ],
}

Run

$ yarn run s2s

Opened src/index.js with your favorite editor, type var user: User and save it.

Would s2s generate default values?

It finishes Quick Start. Thanks!

See Getting Started Exmaple

Combine plugins

With combinations of some plugins, it makes s2s more useful.

This example is that s2s generates an constant of Action and an Action Creator, a Reducer, a test of Reducer when you wrote the definition of the type of Action.

plugins

More Info? See Examples.

More Examples

More Info? See Examples.

Official Plugins

Contributions

For all contributions we are always welcome. and we are working with all-contributors Specifications in this repository.

If you contributed our project with writting a code and test, then type this command.

$ yarn run add-contributors <GitHub Username> code,test

If you contibuted our project with adding documents and fixing them, then type this command.

$ yarn run add-contributors <GitHub Username> doc

For more infomations, refer all-contributors.

We will be welcome your contributions!

Contributors

Thanks goes to these wonderful people (emoji key):

akameco
akameco

💻 ⚠️ 💬 🤔 🚇
elzup
elzup

🤔 💻
erukiti
erukiti

📝 💻 ⚠️
asciian
asciian

📖
kamijin_fanta
kamijin_fanta

💻 📖
pocketberserker
pocketberserker

📖
ygkn
ygkn

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].