GitShow/kentcdodds/slice-js
kentcdodds

slice-js

This is archived because I don't have time to work on it or maintain it, but feel free to explore/fork/etc.

by kentcdodds
Star on GitHubForkWebsitenpm

JavaScript

17 stars8 forks3 contributorsQuiet · 1y agoSince 2016MIT

Meet the team

See all 3 on GitHub →
kentcdodds
kentcdodds1 contribution

Languages

View on GitHub →
JavaScript99.2%
HTML0.8%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

3 of 6 standards met

Community profile →
57
✓README✓License✓Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 5 discussions · Last activity 1y ago
See all on GitHub →
kentcdodds
Slice multiple filesOpenIssue

Right now the way that we instrument files is one at a time. The resulting slice is for that one file. For several implications of slice-js to be practical, we need to instrument and slice multiple files.

kentcdodds · 9y ago
kentcdodds
Don't parse the code again when we have the ASTOpenIssue

Like here and here. In those cases the previous call to returns an object that has the AST which we could transform directly with . But I had trouble doing that for some reason... Another thing that would be cool to figure out, but I had trouble is if we could apply all the plugins at the same time, or at least the dead code elimination ones....

kentcdodds · 9y ago
kentcdodds
Write a data coverage instrumentation toolOpenIssue

One of the coolest implications of SliceJS is removing code creates objects and variables which are never actually used in the slice. In those cases we could actually remove the instantiation of those variables and properties. I call this data shaking (maybe it should be called "variable shaking"? Anyway, as far as I know, there's currently no tool that instruments JavaScript for data coverage, so we will have to build it ourselves. This project could even be a separate effort from SliceJS and have even wider implications itself. Anyone up for the task?

kentcdodds · 9y ago

Recent fixes

View closed PRs →
kentcdodds
Change project license to MITMergedPR

Change the project license to MIT as requested.

kentcdodds · 1y ago
kentcdodds
Lerna?ClosedIssue

Should we use Lerna? This project is going to have quite a few other related projects. Editor plugins, utils/helper modules, webpack/browserify/etc. plugins. Should implement Lerna right now and save ourselves some trouble in the future? Eventually I'll definitely want this to be set up with semantic-release (when it's actually open sourced), can I use that with Lerna?

kentcdodds · 8y ago
kentcdodds
add integration testsMergedPR

This _could_ help with #8

kentcdodds · 9y ago
Structured data for AI agents

Repository: kentcdodds/slice-js. Description: This is archived because I don't have time to work on it or maintain it, but feel free to explore/fork/etc. Stars: 17, Forks: 8. Primary language: JavaScript. Languages: JavaScript (99.2%), HTML (0.8%). License: MIT. Homepage: https://www.youtube.com/watch?v=enlfQRUXb-s&list=PLV5CVI1eNcJgNqzNwcs4UKrlJdhfDjshf Open PRs: 0, open issues: 5. Last activity: 1y ago. Community health: 57%. Top contributors: kentcdodds.

·@ofershap

Replace github.com with gitshow.dev