Comments (3)
Cool, but I got error:
Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
> #!/usr/bin/env node
| 'use strict'
| const os = require('os')
Also I always kept in mind during development focus on startup time (only necessary packages loaded, no cli wrappers like meow, etc) and now startup time should be in 100ms range.
from fx.
Actually ncc doesn't provide any speed improvements. Got it compiled:
time echo '{"foo": 1, "bar": 2}' | node dist/index.js .
{
"foo": 1,
"bar": 2
}
real 0m0,135s
user 0m0,113s
sys 0m0,021s
Versus fx:
time echo '{"foo": 1, "bar": 2}' | fx .
{
"foo": 1,
"bar": 2
}
real 0m0,123s
user 0m0,096s
sys 0m0,026s
So I'm closing it as not needed.
from fx.
from fx.
Related Issues (20)
- Node.js or Deno required to use reducers? HOT 2
- [feature] Add ability to output selection when exiting HOT 6
- feat: toggle unescape strings HOT 2
- Bring back gradiant themes? HOT 1
- Panic error when invoked directly on Windows HOT 2
- Display http headers HOT 8
- Filter line-delimited or streaming JSON without slurping HOT 2
- About 32.0.0 release HOT 4
- Error when selecting field in command line on linux HOT 1
- Invalid content in clipboard after yanking key in wrapped mode
- No autocomplete in `zsh` when JSON doesn't end with a new line
- Any interest in implementing .[] in interactive mode? HOT 1
- Start in collapse mode
- conda-forge package
- Add support for multi-document YAML HOT 1
- Add `--slurp` and `--raw` to interactive mode HOT 1
- Wordy transformations cause `fx` to crash with piped data HOT 4
- Feature request: introduce a hotkey to copy current element path to the clipboard HOT 1
- Raw mode skips last line without newline HOT 1
- Unable to read json file in windows git bash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fx.