Bonjour à tous, Un projet s
MiniSearch is a tiny but powerful in-memory fulltext search engine for JavaScript. It is respectful of resources, and it can comfortably run both in Node and in the browser.
#Use case
MiniSearch addresses use cases where full-text search features are needed (e.g. prefix search, fuzzy search, boosting of fields), but the data to be indexed can fit locally in the process memory. While you may not index the whole Wikipedia with it, there are surprisingly many use cases that are served well by MiniSearch. By storing the index in local memory, MiniSearch can work offline, and can process queries quickly, without network latency.
A prominent use-case is search-as-you-type features in web and mobile applications, where keeping the index on the client-side enables fast and reactive UI, removing the need to make requests to a search server.
The simple answer is web servers should never be run as root for well known security reasons, so this goes for npm commands as well.
To start fresh, remove prior Node.js and npm installs as well as these files/directories:
mv ~/.npmrc ~/.npmrc~prior
mv ~/.npm ~/.npm~prior
mv ~/tmp ~/tmp.~prior
mv ~/.npm-init.js ~/.npm-init.js~prior
Solution: Install Node.js (which comes with npm) as NON root (no sudo)
Download Source Code directly from https://nodejs.org/en/download/
Execute the below as yourself (Linux/OS X)
cd node-v8.1.2 # into expanded source dir
export NODE_PARENT=${HOME}/node-v8.1.2 # put this into your ~/.bashrc
Feel free to change above export to whatever location is appropriate
./configure --prefix=${NODE_PARENT}
make -j4 # for dual core ... use -j8 for quad core CPU
make install
which puts the binaries for Node.js and npm as well as its modules repository into $NODE_PARENT, a $USER owned dir which then allows you to issue subsequent npm install xxx commands as yourself.
To reach the binaries for node and npm alter your PATH environment variables in your ~/.bashrc:
export PATH=${NODE_PARENT}/bin:${PATH}
export NODE_PATH=${NODE_PARENT}/lib/node_modules
Then to install packages into that directory (global), as opposed to the current directory (local) always pass in the -g flag (global):
npm install -g someModule
NOTE - at no time are you executing anything npm or node related as root / sudo.
Un Dashboard léger en nodejs
a tester.
Faire une appli nodeJS et inclure juste ce qu'il vous faut dans le navigateur ?
c'est ce que propose Browserify.
Hum... a tester, un logiciel qui permet de coder en NodeJS facilement et sous Windows...
Avec le Concours de Microsoft !
Une plateforme de test en ligne pour les applications NodeJS ;)
pas mal pour tester ses applis.
il faudra que j'en fasse un package pour fun_plug...
les ressources les plus populaires en rapport avec nodeJS
c'est la que j'ai trouvé Cloud9
un IDE en ligne pour css html js et nodejs ;)
a tester d'urgence...
et le patch pour la récuperation des sous module git :
http://h33t.com/details.php?id=61344f3b11c7b3e924f645785f9ffea122c4dbec
Un petit article que j'ai écrit suite à la publication de mon package permettant d'avoir nodejs sur les NAS utilisant fun_plug ffp 0.7
Cet article explique comment installer npm et palier au manque du binaire /usr/bin/env et son replacement par /ffp/bin/env
Compiler NodeJS sur ARM...
http://forum.qnap.com/viewtopic.php?f=50&t=45603&sid=e6cfa1352daa0c00a2b3b345989dd4a0&start=15
http://old.nabble.com/Illegal-instruction-on-ARM-td33119914.html
http://stackoverflow.com/questions/6788768/cannot-build-node-on-sheevaplug-armv5t-with-debian-squeeze
http://www.wigwag.com/devblog/cross-compile-v8-target-arm/
http://code.google.com/p/go/issues/detail?id=2533
https://github.com/joyent/node/issues/2131#issuecomment-3208846
http://stackoverflow.com/questions/6788768/cannot-build-node-on-sheevaplug-armv5t-with-debian-squeeze
http://www.it-wars.com/article305/compiler-node-js-pour-arm-v5
http://www.it-wars.com/article181/
http://comments.gmane.org/gmane.comp.lang.javascript.v8.general/2870
http://comments.gmane.org/gmane.comp.lang.javascript.nodejs/15708
http://repo.or.cz/w/a2jmidid.git/commitdiff/1e746c65bb5fbd39dfa1de297abd1052ad00bd81
http://us.generation-nt.com/answer/bug-598704-lash-ftbfs-alpha-error-mcontext-t-has-no-member-named-gregs-help-200513411.html
http://codereview.chromium.org/3161009/diff/1/2
Allez on test l'install sur le NAS ce soir ?
http://www.it-wars.com/article305/compiler-node-js-pour-arm-v5