Coding time Compile. A tool to write code fastest.
Switch branches/tags
Nothing to show
Clone or download
Latest commit c36054e Oct 13, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore(npm): update dependencis Jun 20, 2018
docs chore(npm): update dependencis Jun 20, 2018
examples Publish Aug 24, 2018
flow-typed test(snopshot): update deps && update snapshot (#125) Jan 9, 2018
packages Publish Aug 24, 2018
scripts chore(lint): fix eslint Mar 20, 2018
types chore(npm): update eslint... Feb 14, 2018
.all-contributorsrc chore(all-contributors): update all-contributors Jan 12, 2018
.babelrc Use babel-preset-flow Nov 5, 2017
.coveralls.yml Add coverage Sep 22, 2017
.editorconfig init Jul 22, 2017
.eslintignore chore(eslint): use eslint in examples Feb 19, 2018
.eslintrc chore(eslint): disable import/exports-last Nov 8, 2017
.flowconfig chore(npm): update dependencis Jun 20, 2018
.gitattributes init Jul 22, 2017
.gitignore Add example Nov 5, 2017
.prettierignore feat(template): update redux template Feb 1, 2018
.prettierrc Add load prettier rc Sep 14, 2017
.travis.yml ci: node v10 Oct 13, 2018
.yarnrc Add .yarnrc Nov 5, 2017 chore(npm): update dependencis Jun 20, 2018 chore(npm): update prettier Mar 7, 2018
appveyor.yml ci: node v10 Oct 13, 2018
jest.config.js chore(*): fix ignore path (#142) Feb 1, 2018
lerna.json build(workspace): add exaples to workspace (#115) Dec 12, 2017
license init Jul 22, 2017
package.json chore(npm): update dependencis Jun 20, 2018 chore(npm): update dependencis Jun 20, 2018
yarn.lock ci: node v10 Oct 13, 2018


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


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.





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.


Clone the repository and install dependencies.

$ git clone --depth=1
$ cd examples/getting-started
$ yarn


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'],


$ 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.


More Info? See Examples.

More Examples

More Info? See Examples.

Official Plugins


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!


Thanks goes to these wonderful people (emoji key):


💻 ⚠️ 💬 🤔 🚇


🤔 💻


📝 💻 ⚠️




💻 📖



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


MIT © akameco