ajvincent / cross-stitch Goto Github PK
View Code? Open in Web Editor NEWAspect weaving unit-testable components, both dynamically and with static code rewriting.
License: Mozilla Public License 2.0
Aspect weaving unit-testable components, both dynamically and with static code rewriting.
License: Mozilla Public License 2.0
https://www.npmjs.com/package/eslint-plugin-tree-shaking
It might be pretty useful before implementing rollup support.
Export the types too.
I need an ExpressJS server to render the /docs
directory locally, for in-development work. Plus, CodeMirror 6 recommends using Rollup to generate libraries for hosting, and I can't say I disagree.
When you get down to it, that's what cross-stitch really is: a form of mixin generator.
On hold: see this README.
Focus on examples, not on generating live user code. Configuring a project takes too much resources for local storage (which is not permanent or performant, apparently).
After all, not everyone's a TypeScript convert.
This will require JavaScript engines to support decorators, so it might not be a 1.0 release blocker. (See #7.)
Blocked by #13 .
https://github.com/tannerntannern/ts-mixer
This project (cross-stitch) isn't supposed to be a general-purpose mixin generator, which typically just attaches individual fields to an object. Instead, we should generate members which invoke the same members in component classes - sequentially at first, and maybe more complicated routing later.
Imagine the following:
if (__passThrough__.callTarget("foo") !== __passThrough__) {
doSomethingElse();
}
This is dangerous. Equally bad would be someone calling __passThrough__.callTarget("foo")
after changing one of the arguments and not updating __passThrough__.modifiedArguments
.
Instead of trying to generate a class via inserting text, I really should switch to inserting structures. Here are some notes.
npm install ajv
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.