Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development of sugar syntax #4

Open
7k8m opened this issue Mar 1, 2016 · 1 comment
Open

Development of sugar syntax #4

7k8m opened this issue Mar 1, 2016 · 1 comment

Comments

@7k8m
Copy link
Owner

7k8m commented Mar 1, 2016

Develop sugar syntax and make it possible to write code more easily.

var jf = require('json.filed');

jf.filed('./hello.json')
.io( function(json,filePath) {
  return {msg: "hello" }; }) // write 1st greeting to data.json
.link( function(json,filePath){
  return 'linked_hello.json'
}).exec();
@7k8m
Copy link
Owner Author

7k8m commented Mar 1, 2016

Some more easier than before ...

var jf = require('json.filed');

jf.filed('./hello.json')
.io( { msg: "hello" } ) // write 1st greeting to data.json
.link( 'linked_hello.json' ).exec();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant