![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
select-shell
Advanced tools
npm install select-shell
Simply navigate + make selection with the arrow keys...
Up and Down - Navigates on the options
Right - Check the option
Left - Uncheck the option
Enter/Return - confirms the options selected
Esc - Cancel/Exit
'use strict';
var list = require('./index')(
/* possible configs */
{
pointer: ' ▸ ',
pointerColor: 'yellow',
checked: ' ◉ ',
unchecked:' ◎ ',
checkedColor: 'blue',
msgCancel: 'No selected options!',
msgCancelColor: 'orange',
multiSelect: true,
inverse: true,
prepend: true,
disableInput: true
}
);
var stream = process.stdin;
list.option(' One ')
.option(' Two ')
.option(' Three ')
.list();
list.on('select', function(options){
console.log(options);
process.exit(0);
});
list.on('cancel', function(options){
console.log('Cancel list, '+ options.length +' options selected');
process.exit(0);
});
var select = require('select-shell')(
/* These are the default values */
{
pointer: '> ',
pointerColor: 'white',
checked: ' ✓',
unchecked: '',
checkedColor: 'green',
msgCancel: 'No selected options!',
msgCancelColor: 'red',
multiSelect: true,
inverse: false,
prepend: false,
disableInput: true
}
);
sample.coffee
.list = require('.')
pointer : ' ► '
checked : ' ◉ '
unchecked : ' ◎ '
prepend : true
style | color | theme |
---|---|---|
bold | yellow | rainbow |
italic | cyan | random |
underline | white | zebra |
inverse | magenta | |
green | ||
red | ||
grey | ||
blue |
FAQs
list of select for nodejs on terminal.
The npm package select-shell receives a total of 6 weekly downloads. As such, select-shell popularity was classified as not popular.
We found that select-shell demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.