Поиск по блогу

понедельник, 18 мая 2015 г.

Последствия просмотра видео "Введение в NPM - менеджер пакетов для Node.JS "

Здесь в начале поста собраны видео (от Кантора), npm help, npm-faq, а потом я задаю поиск в репозиторииnpm s linkedin и распечатываю один из найденных файлов. Им оказался phantom-linkedin
Запомнить: Менеджер пакетов сначала ищет директорию node_modules в текущей, потом в родительских папках, если не находит, то создает...

Уроки по Node.js | #7 Введение в NPM - менеджер пакетов для Node.JS
irisnpm.com закрытый репозиторий npm
Node.js для начинающих

In [3]:
!npm --help
Usage: npm <command>

where <command> is one of:
    add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, ddp, dedupe, deprecate, docs, edit,
    explore, faq, find, find-dupes, get, help, help-search,
    home, i, info, init, install, isntall, issues, la, link,
    list, ll, ln, login, ls, outdated, owner, pack, prefix,
    prune, publish, r, rb, rebuild, remove, repo, restart, rm,
    root, run-script, s, se, search, set, show, shrinkwrap,
    star, stars, start, stop, submodule, t, tag, test, tst, un,
    uninstall, unlink, unpublish, unstar, up, update, v,
    version, view, whoami

npm <cmd> -h     quick help on <cmd>
npm -l           display full usage info
npm faq          commonly asked questions
npm help <term>  search for help on <term>
npm help npm     involved overview

Specify configs in the ini-formatted file:
    C:\Users\kiss\.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

npm@1.4.14 C:\Program Files\nodejs\node_modules\npm
In [ ]:
 
In [4]:
!npm faq - # открывает в браузере локальный файл, мы его просто загрузим сюда 
In [5]:
%load 'C:/Program Files/nodejs/node_modules/npm/html/doc/misc/npm-faq.html'

npm-faq

Frequently Asked Questions

Where can I find these docs in HTML?

https://www.npmjs.org/doc/, or run:

npm config set viewer browser

to open these documents in your default web browser rather than man.

It didn't work.

That's not really a question.

Why didn't it work?

I don't know yet.

Read the error output, and if you can't figure out what it means, do what it says and post a bug with all the information it asks for.

Where does npm put stuff?

See npm-folders(5)

tl;dr:

  • Use the npm root command to see where modules go, and the npm bin command to see where executables go
  • Global installs are different from local installs. If you install something with the -g flag, then its executables go in npm bin -g and its modules go in npm root -g.

How do I install something on my computer in a central location?

Install it globally by tacking -g or --global to the command. (This is especially important for command line utilities that need to add their bins to the global system PATH.)

I installed something globally, but I can't require() it

Install it locally.

The global install location is a place for command-line utilities to put their bins in the system PATH. It's not for use with require().

If you require() a module in your code, then that means it's a dependency, and a part of your program. You need to install it locally in your program.

Why can't npm just put everything in one place, like other package managers?

Not every change is an improvement, but every improvement is a change. This would be like asking git to do network IO for every commit. It's not going to happen, because it's a terrible idea that causes more problems than it solves.

It is much harder to avoid dependency conflicts without nesting dependencies. This is fundamental to the way that npm works, and has proven to be an extremely successful approach. See npm-folders(5) for more details.

If you want a package to be installed in one place, and have all your programs reference the same copy of it, then use the npm link command. That's what it's for. Install it globally, then link it into each program that uses it.

Whatever, I really want the old style 'everything global' style.

Write your own package manager. You could probably even wrap up npm in a shell script if you really wanted to.

npm will not help you do something that is known to be a bad idea.

Should I check my node_modules folder into git?

Mikeal Rogers answered this question very well:

http://www.futurealoof.com/posts/nodemodules-in-git.html

tl;dr

  • Check node_modules into git for things you deploy, such as websites and apps.
  • Do not check node_modules into git for libraries and modules intended to be reused.
  • Use npm to manage dependencies in your dev environment, but not in your deployment scripts.

Is it 'npm' or 'NPM' or 'Npm'?

npm should never be capitalized unless it is being displayed in a location that is customarily all-caps (such as the title of man pages.)

If 'npm' is an acronym, why is it never capitalized?

Contrary to the belief of many, "npm" is not in fact an abbreviation for "Node Package Manager". It is a recursive bacronymic abbreviation for "npm is not an acronym". (If it was "ninaa", then it would be an acronym, and thus incorrectly named.)

"NPM", however, is an acronym (more precisely, a capitonym) for the National Association of Pastoral Musicians. You can learn more about them at http://npm.org/.

In software, "NPM" is a Non-Parametric Mapping utility written by Chris Rorden. You can analyze pictures of brains with it. Learn more about the (capitalized) NPM program at http://www.cabiatl.com/mricro/npm/.

The first seed that eventually grew into this flower was a bash utility named "pm", which was a shortened descendent of "pkgmakeinst", a bash function that was used to install various different things on different platforms, most often using Yahoo's yinst. If npm was ever an acronym for anything, it was node pm or maybe new pm.

So, in all seriousness, the "npm" project is named after its command-line utility, which was organically selected to be easily typed by a right-handed programmer using a US QWERTY keyboard layout, ending with the right-ring-finger in a postition to type the - key for flags and other command-line arguments. That command-line utility is always lower-case, though it starts most sentences it is a part of.

How do I list installed packages?

npm ls

How do I search for packages?

npm search

Arguments are greps. npm search jsdom shows jsdom packages.

How do I update npm?

npm update npm -g

You can also update all outdated local packages by doing npm update without any arguments, or global packages by doing npm update -g.

Occasionally, the version of npm will progress such that the current version cannot be properly installed with the version that you have installed already. (Consider, if there is ever a bug in the update command.)

In those cases, you can do this:

curl https://www.npmjs.org/install.sh | sh

What is a package?

A package is:

  • a) a folder containing a program described by a package.json file
  • b) a gzipped tarball containing (a)
  • c) a url that resolves to (b)
  • d) a <name>@<version> that is published on the registry with (c)
  • e) a <name>@<tag> that points to (d)
  • f) a <name> that has a "latest" tag satisfying (e)
  • g) a git url that, when cloned, results in (a).

Even if you never publish your package, you can still get a lot of benefits of using npm if you just want to write a node program (a), and perhaps if you also want to be able to easily install it elsewhere after packing it up into a tarball (b).

Git urls can be of the form:

git://github.com/user/project.git#commit-ish
git+ssh://user@hostname:project.git#commit-ish
git+http://user@hostname/project/blah.git#commit-ish
git+https://user@hostname/project/blah.git#commit-ish

The commit-ish can be any tag, sha, or branch which can be supplied as an argument to git checkout. The default is master.

What is a module?

A module is anything that can be loaded with require() in a Node.js program. The following things are all examples of things that can be loaded as modules:

  • A folder with a package.json file containing a main field.
  • A folder with an index.js file in it.
  • A JavaScript file.

Most npm packages are modules, because they are libraries that you load with require. However, there's no requirement that an npm package be a module! Some only contain an executable command-line interface, and don't provide a main field for use in Node programs.

Almost all npm packages (at least, those that are Node programs) contain many modules within them (because every file they load with require() is a module).

In the context of a Node program, the module is also the thing that was loaded from a file. For example, in the following program:

var req = require('request')

we might say that "The variable req refers to the request module".

So, why is it the "node_modules" folder, but "package.json" file? Why not node_packages or module.json?

The package.json file defines the package. (See "What is a package?" above.)

The node_modules folder is the place Node.js looks for modules. (See "What is a module?" above.)

For example, if you create a file at node_modules/foo.js and then had a program that did var f = require('foo.js') then it would load the module. However, foo.js is not a "package" in this case, because it does not have a package.json.

Alternatively, if you create a package which does not have an index.js or a "main" field in the package.json file, then it is not a module. Even if it's installed in node_modules, it can't be an argument to require().

"node_modules" is the name of my deity's arch-rival, and a Forbidden Word in my religion. Can I configure npm to use a different folder?

No. This will never happen. This question comes up sometimes, because it seems silly from the outside that npm couldn't just be configured to put stuff somewhere else, and then npm could load them from there. It's an arbitrary spelling choice, right? What's the big deal?

At the time of this writing, the string 'node_modules' appears 151 times in 53 separate files in npm and node core (excluding tests and documentation).

Some of these references are in node's built-in module loader. Since npm is not involved at all at run-time, node itself would have to be configured to know where you've decided to stick stuff. Complexity hurdle #1. Since the Node module system is locked, this cannot be changed, and is enough to kill this request. But I'll continue, in deference to your deity's delicate feelings regarding spelling.

Many of the others are in dependencies that npm uses, which are not necessarily tightly coupled to npm (in the sense that they do not read npm's configuration files, etc.) Each of these would have to be configured to take the name of the node_modules folder as a parameter. Complexity hurdle #2.

Furthermore, npm has the ability to "bundle" dependencies by adding the dep names to the "bundledDependencies" list in package.json, which causes the folder to be included in the package tarball. What if the author of a module bundles its dependencies, and they use a different spelling for node_modules? npm would have to rename the folder at publish time, and then be smart enough to unpack it using your locally configured name. Complexity hurdle #3.

Furthermore, what happens when you change this name? Fine, it's easy enough the first time, just rename the node_modules folders to ./blergyblerp/ or whatever name you choose. But what about when you change it again? npm doesn't currently track any state about past configuration settings, so this would be rather difficult to do properly. It would have to track every previous value for this config, and always accept any of them, or else yesterday's install may be broken tomorrow. Complexity hurdle #4.

Never going to happen. The folder is named node_modules. It is written indelibly in the Node Way, handed down from the ancient times of Node 0.3.

How do I install node with npm?

You don't. Try one of these node version managers:

Unix:

Windows:

How can I use npm for development?

See npm-developers(7) and package.json(5).

You'll most likely want to npm link your development folder. That's awesomely handy.

To set up your own private registry, check out npm-registry(7).

Can I list a url as a dependency?

Yes. It should be a url to a gzipped tarball containing a single folder that has a package.json in its root, or a git url. (See "what is a package?" above.)

See npm-link(1)

The package registry website. What is that exactly?

See npm-registry(7).

I forgot my password, and can't publish. How do I reset it?

Go to https://npmjs.org/forgot.

I get ECONNREFUSED a lot. What's up?

Either the registry is down, or node's DNS isn't able to reach out.

To check if the registry is down, open up https://registry.npmjs.org/ in a web browser. This will also tell you if you are just unable to access the internet for some reason.

If the registry IS down, let us know by emailing support@npmjs.com or posting an issue at https://github.com/npm/npm/issues. If it's down for the world (and not just on your local network) then we're probably already being pinged about it.

You can also often get a faster response by visiting the #npm channel on Freenode IRC.

Why no namespaces?

Please see this discussion: https://github.com/npm/npm/issues/798

tl;dr - It doesn't actually make things better, and can make them worse.

If you want to namespace your own packages, you may: simply use the - character to separate the names. npm is a mostly anarchic system. There is not sufficient need to impose namespace rules on everyone.

Who does npm?

npm was originally written by Isaac Z. Schlueter, and many others have contributed to it, some of them quite substantially.

The npm open source project, The npm Registry, and the community website are maintained and operated by the good folks at npm, Inc.

I have a question or request not addressed here. Where should I put it?

Post an issue on the github project:

Why does npm hate me?

npm is not capable of hatred. It loves everyone, especially you.

SEE ALSO

In [2]:
!npm s linkedin
NAME                              DESCRIPTION                                                  AUTHOR               DATE       VERSION KEYWORDS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
bell                              Third-party login plugin for hapi                            =hueniverse =wyatt   2015-05-16 2.8.0   hapi login authentication oauth plugin twitter facebook google yahoo linkedin live windows microsoft github foursquare vk arcgisonline reddit                                                                                                                                                                                                                                                                                                                                                                                                                                                       
clean-dust                        Factory for dustjs-linkedin with dustjs-helpers              =marekhrabe          2014-08-04 1.0.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
clever-auth-linkedin              Linkedin Authentication for CleverStack                      =pilsy               2015-03-29 0.9.0   cleverstack cleverstack-module cleverstack-backend passport local authentication linkedin passport-linkedin oauth oauth2 passport-linkedin-oauth2                                                                                                                                                                                                                                                                                                                                                                                                                                                   
common-dustjs-helpers             A small library of "standard" helper functions for the…      =rodw                2014-02-03 0.1.0   dust dust.js linkedin helper web template                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
count-shares                      Returns JSON with a number of shares for a URL               =clexit              2014-12-16 1.0.2   shares count likes tweets social networks facebook vk vkontakte odnoklassniki twitter linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
crossbow-lang                     Shane Osbourne's fork of Linkedin's fork of Dustjs           =shakyshane          2014-10-11 1.0.0   templates views                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
dust-compiler                     Dust.js template watcher/compiler with support for…          =jamsyoung           2014-07-04 0.3.9   compiler dust compiler dust dust.js dustjs dustjs-linkedin notification center notify-send terminal-notifier                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
dust-processor                    Collection of tools and middleware for dustjs                =mastercactapus      2014-05-15 0.0.2   dust dustjs dustjs-linkedin express middleware browserify require promise                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
dustbuster                        cli and node module to compile dust.js templates             =cl-bender           2015-02-25 0.0.9   dust dust.js linkedin compile precompile                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
duster                            prime a dust.cache                                           =diffsky             2015-04-01 1.1.0   dust dust.js linkedin compile precompile cache prime                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
dustin                            An abstraction on LinkedIn's Dust fork with express support  =tunderdomb          2014-10-30 1.2.6   template dust gruntplugin gulpplugin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
dusting                           cli and node module to compile dust.js templates             =diffsky             2015-02-25 1.0.0   dust dust.js linkedin compile precompile                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
dustjs-helpers                    Helpers for dustjs-linkedin                                  =rragan =jimmyhchan… 2015-04-29 1.7.1   templates views helpers dust dustjs dust.js linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
dustjs-helpers-extra              Extra Helpers for dustjs-linkedin package: iterate, contains =nikolayhg           2015-05-05 0.4.0   dust dustjs helpers extra iterate contains                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
dustjs-helpers-gravatar           Helpers Gravatar for dustjs-linkedin package                 =paulomcnally        2014-10-27 0.0.1   templates views helpers dust dustjs gravatar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
dustjs-helpers-markdown           Helpers Markdown for dustjs-linkedin package                 =paulomcnally        2014-10-27 0.0.1   templates views helpers dust dustjs markdown                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
dustjs-helpers-moment             Helpers Moment.js for dustjs-linkedin package                =paulomcnally        2014-10-27 0.0.1   templates views helpers dust dustjs moment momentjs date datetime                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
dustjs-linkedin                   Asynchronous templates for the browser and server (LinkedIn… =rragan =jimmyhchan… 2015-04-30 2.7.1   templates views dust dustjs dust.js linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
dustjs-linkedin-brunch            Adds Dustjs (LinkedIn fork) support to brunch.               =mgarbacz            2013-11-09 1.7.3   brunch plugin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
dustjs-tmpl                       DustJS-tmpl: the dustjs template compiler                    =theakman2           2015-05-08 2.0.0   build builder dust dustjs linkedin template                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
engines                           Template engine library with fast, synchronous rendering,…   =jonschlinkert…      2014-10-03 0.4.0   assemble atpl cache compile consolidate content data delimiters delims docs documentation dot dust dustjs-helpers dustjs-linkedin eco ect ejs engine engines express front generate generator gray-matter haml-coffee hamljs handlebars hogan.js jade jazz jqtpl liquor lo-dash lodash markdown matter mocha mote mustache noop nunjucks parse parser parsers pass-through process qejs ractive render should swig template templates templayed toffee underscore verb view walrus whiskers yaml                                                                                                    
escape-delims                     Escape and un-escape delimiters in templates. Tested with…   =jonschlinkert       2014-11-11 0.4.0   RegExp assemble atpl cache compile consolidate content data delimiters delims demlim demlimiter demlimiters demlims docs documentation dot dust dustjs-helpers dustjs-linkedin eco ect ejs engine engines escape escaping express expressions front generate generator gray-matter haml-coffee hamljs handlebars hogan.js jade jazz jqtpl liquor lo-dash lodash markdown matter mocha mote mustache noop nunjucks parse parser parsers pass-through process qejs ractive re regex regular render should swig template templates templayed toffee transform underscore verb view walrus whiskers yaml
express-dust-linkedin             ExpressJS DustJS View Renderer                               =maxname             2012-04-07 0.1.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
express-linkedin-connect          Adds linkedin connect routes to any express site             =odysseas            2014-04-12 0.4.0   express linkedin passport connect login                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
fis-parser-dust                   A parser plugin for fis to compile dust file.                =yqt                 2013-08-21 0.0.1   fis dust dustjs-linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
gereji-oauth                      Oauth adapter for the gereji web application framework.      =dnjuguna            2014-08-26 0.0.2   oauth facebook twitter linkedin gereji security rest                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
gitbook-plugin-share              Adds social share buttons to your gitbook                    =bguiz               2014-11-17 0.0.3   gitbook plugin share buttons social reddit google+ facebook twitter linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
grunt-dust-html                   Grunt task to render Dust templates to HTML                  =ehynds              2015-01-09 0.2.1   gruntplugin dust dustjs template html linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
grunt-dustin                      Grunt task for LinkedIn's Dust fork                          =tunderdomb          2014-07-24 1.0.0   template dust                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
grunt-dustjs-linkedin             Compile DUST files to JS.                                    =coryroloff          2015-05-02 0.6.3   grunt gruntplugin dust linkedin q bluebird requirejs commonjs amd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
hatch-auth-linkedin               hatch-auth-linkedin ===================                      =marcusgreenwood     2014-01-13 0.0.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
hellojs                           A clientside Javascript library for standardizing requests…  =adodson             2015-05-16 1.6.0   oauth oauth1.0 oauth2 api facebooks google windows linkedin twitter                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
indiesocial                       use social share links without foreign scripts               =anton.nesterov      2014-12-12 1.0.0   social sharing privacy twitter facebook vk vkontakte odnoklassniki google googleplus friendfeed linkedin tumblr blogger diigo reddit delicious digg stumbleupon pinterest evernote instapaper hackernews                                                                                                                                                                                                                                                                                                                                                                                            
insframe                          Central hub for distributing web apps to multiple browsers…  =tannhu              2012-05-01 0.0.1   insframe InsFrame iframe iframe hub LinkedIn                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
jb-router-dust                    Middleware for jb-router rendering of dustjs-linkedin…       =jbergknoff          2013-09-16 0.1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
klei-dust                         A helper to use dustjs-linkedin along with Express           =joakimbeng          2015-03-30 1.0.0   dust.js node.js express dust dustjs-linkedin template view                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          
leader-google-linkedin-company    A leader plugin to google for a LinkedIn company url         =ivolo               2014-02-04 1.0.0   leader domain email google linkedin company plugin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
linkage                           Do raw requests to LinkedIn REST API using OAuth2 access…    =pavel.zubkou        2014-04-17 0.0.3   linkedin oauth2 request                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
linkedin                          The absolute easies way to enable node.js for LinkedIn rest… =haraldrudell        2012-04-24 0.0.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-data-parser              mixin data from linkedin api with userData                   =cusick62            2015-04-15 1.0.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-differ                   Given two versions of a Linkedin profile outputs that…       =blikk               2015-04-06 0.1.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-exchange-tokens          A simple function to convert from LinkedIn JS API Tokens to… =likefallingleaves   2014-10-16 0.0.1   linkedin JS API oauth oauth2 token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
linkedin-exchange-tokens-debugged A simple function to convert from LinkedIn JS API Tokens to… =portepa             2015-04-30 0.0.1   linkedin JS API oauth oauth2 token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
linkedin-extractor                Given a Linkedin profie URL returns structured metadata.     =blikk               2015-04-11 0.1.8                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-js                       Minimalistic linkedin API client                             =masylum             2011-10-20 0.1.4   linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
linkedin-js-patched               Minimalistic linkedin API client                             =jnape               2013-01-21 0.1.5   linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
linkedin-node                     Access LinkedIn developer APIs via node.js LinkedInNode…     =braitz              2012-01-17 1.0.0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-node-new                 A NodeJS connector for LinkedIn OAuth2                       =typefoo             2014-07-15 0.0.4                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
linkedin-scraper                  A scraper for LinkedIn, give us a linkedin profile URL and…  =aadisriram          2015-02-08 1.0.1                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
load-templates                    Load templates.                                              =jonschlinkert       2015-04-29 0.7.3   array assemble atpl cache coffee compile consolidate content data delimiters delims docs documentation dot dust dustjs dustjs-helpers dustjs-linkedin eco ect ejs engine engines express front generate generator glob gray gray-matter haml haml-coffee hamljs handlebars helpers hogan hogan-js jade jazz jqtpl js linkedin lo-dash load loader lodash markdown matter mocha mote mustache noop nunjucks object parse parser parsers pass-through patterns process qejs ractive render should string swig template templates templayed tmpl toffee underscore verb view walrus whiskers yaml      
lql-typeahead                     LinkedIn Query Language Typeahead                            =ammiller            2015-01-29 0.0.11  LQL typeahead                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
node-and-linkedin                 node-and-linkedin =================                          =prasunsultania      2014-07-26 0.0.2                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
node-linked-in                    NodeJS wrapper for the LinkedIn API                          =darul75             2015-01-05 0.0.7   api linkedin nodejs job                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
node-linkedin                     LinkedIn 2.0 compatible wrapper in node.js                   =arkeologen          2015-04-29 0.3.8   linkedin wrapper api                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
node-linkedin-simple              Node.JS bindings for LinkedIn API                            =pavel.samchuk       2014-05-13 0.0.3   oauth rest linkedin api wrapper                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
nodebb-plugin-sso-linkedin        Linkedin login for your nodebb                               =mootzville          2014-09-26 0.0.1   nodebb linkedin oauth sso                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
nodebb-plugin-sso-linkedin-oauth2 NodeBB LinkedIn SSO OAuth2                                   =joe1chen            2014-11-07 0.2.2   nodebb plugin linkedin sso single sign on registration                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
notifyit                          Simple notification tool, designed to publish notifications. =sethmcl             2012-05-28 0.0.1   notifyit NotifyIt notifications LinkedIn http pubsub socketio                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
passport-applywithlinkedin        LinkedIn authentication strategy for Passport.               =comtechlar          2015-04-21 0.1.3   passport linkedin auth authn authentication identity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
passport-facebook-exchange-code   LinkedIn token authentication strategy for Passport.         =blackening          2015-01-13 0.0.0   passport-exchange-code passport exchange code passport code passport oauth strategy code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
passport-jtnt-linkedin            minor modification to jared hanson's excellent LinkedIn…     =jtnt                2013-01-23 0.1.2   passport linkedin auth authn authentication identity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
passport-linkedin                 LinkedIn authentication strategy for Passport.               =jaredhanson         2013-02-10 0.1.3   passport linkedin auth authn authentication identity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
passport-linkedin-oauth2          Passport for LinkedIn Oauth2                                 =jfromaniello =iaco  2014-11-18 1.2.1   passport linkedin auth0                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
passport-linkedin-token           LinkedIn token authentication strategy for Passport.         =ningsuhen           2014-07-01 0.1.1   passport linkedin auth authn authentication identity                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
passport-linkedin-token-oauth2    LinkedIn token authentication strategy for Passport.         =blackening          2015-03-25 0.1.3   passport-exchange-code passport exchange code passport code passport oauth strategy code                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
phantom-linkedin                  PhantomJS wrapper for Node                                   =sethmcl             2012-10-09 0.3.5                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
portepalinkedin-exchange-tokens   A simple function to convert from LinkedIn JS API Tokens to… =portepa             2015-04-30 0.0.1   linkedin JS API oauth oauth2 token                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
resume-linkedin                   Builds http://jsonresume.org/ JSON schema from your…         =mblarsen            2014-07-10 0.2.1   json resume linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
sails-hook-dust-exec              Dust.js (Linkedin) helpers that works with [Sails…           =hellowin            2015-05-03 0.0.1   sails sails.js hook dust dust.js execute function                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
sails-hook-dust-i18n              Dust.js (Linkedin) helpers that works with Sails default…    =hellowin            2015-05-03 0.0.8   sails sails.js hook dust dust.js i18n internationalization multi language                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
scribe-node                       Scribe java OAuth library port to node.js                    =mmstud              2011-12-13 0.0.24  scribe oauth web2.0 node.js coffeescript java google api facebook twitter linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
seneca-linkedin-auth              linkedin auth plugin for seneca-auth                         =nherment =rjrodger… 2014-08-11 0.1.0   seneca oauth auth linkedin plugin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
shares                            Get Share/Like/Upvote counts for any URL                     =abeisgreat          2014-04-17 0.4.1   facebook reddit stumbleupon buffer linkedin pinterest twitter social like upvote count share                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
social-login                      Passportjs too complicated to integrate? Social-Login wraps… =26medias =pagevamp  2014-10-10 0.2.8   passport oauth2 auth authentication linkedin facebook twitter instagram github google amazon dropbox foursquare imgur meetup wordpress tumblr                                                                                                                                                                                                                                                                                                                                                                                                                                                       
social-share-js                   A jquery plugin to provide more control on social sharing…   =ritz078             2015-04-02 1.0.1   jquery-plugin socialShare share twitter facebook linkedin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           
sociallogin                       Login usng several social providers                          =atheohar            2014-11-04 0.0.15  passport oauth sociallogin authentication facebook twitter github google linkedin amazon bitbucket dropbox evernote fitbit flickr foursquare instagram meetup spotify trello tumblr vimeo windowslive wordpress yahoo                                                                                                                                                                                                                                                                                                                                                                               
socialmeter                       Multi-Social Meter json api for Node                         =joeyjea             2013-06-13 0.1.4   socialmeter social meter json facebook twitter linkedin Delicious Stumbleupon Pinterest restful social                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
template                          Render templates using any engine. Supports, layouts,…       =jonschlinkert…      2015-05-14 0.14.3  atpl coffee compile consolidate dot dust dustjs dustjs-helpers dustjs-linkedin eco ect ejs engine engines express haml haml-coffee hamljs handlebars helpers hogan.js jade jazz jqtpl liquor lo-dash lodash markdown mote mustache nunjucks process qejs ractive render swig template templates templayed toffee underscore view walrus whiskers yaml                                                                                                                                                                                                                                               
transfigure-dust                  Transfigure (https://www.npmjs.com/package/transfigure)…     =popeindustries      2015-05-02 2.7.1   buddy compile dust transfigure                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
twee-passport-extension           Passport Extension for Twee.IO Framework - Modular…          =mesin               2015-02-27 0.0.5   passport digest basic facebook twitter linkedin google oauth oauth2 authentication authorization auth files ftp twee.io framework extensions modules route web middleware mvc routes rest restful api                                                                                                                                                                                                                                                                                                                                                                                               
vern-authentication-linkedin      Username/password authentication for using Linked-In with…   =typefoo             2014-12-19 0.0.17  vern mvc rest api angularjs mongodb less framework platform
In [6]:
%load https://registry.npmjs.org/phantom-linkedin  

{"_id":"phantom-linkedin","_rev":"3-25e4de58811caf6accec57ab82681c41","name":"phantom-linkedin","description":"PhantomJS wrapper for Node","dist-tags":{"latest":"0.3.5"},"versions":{"0.3.5":{"author":{"name":"Sam Gentle","email":"sam@samgentle.com"},"name":"phantom-linkedin","description":"PhantomJS wrapper for Node","contributors":[{"name":"Seth McLaughlin","email":"smclaughlin@linkedin.com"}],"homepage":"https://github.com/smclaugh/phantomjs-node","version":"0.3.5","repository":{"type":"git","url":"https://github.com/sethmcl/phantomjs-node.git"},"main":"phantom.js","engines":{"node":">=v0.4.9"},"dependencies":{"dnode-protocol":"~0.2.2","dnode":"~0.9.12","express":"~3.0.0"},"devDependencies":{"browserify":"~1.13.0","traverse":"~0.6.3","coffee-script":"~1.3.3","temp":"~0.4.0","ps-tree":"~0.0.2","vows":"~0.6.2"},"licenses":{"type":"MIT","url":"http://www.opensource.org/licenses/MIT"},"scripts":{"test":"cake test"},"readme":"","_id":"phantom-linkedin@0.3.5","dist":{"shasum":"8b912b6be98bcecde13e4a3c89e75b823a7daabe","tarball":"http://registry.npmjs.org/phantom-linkedin/-/phantom-linkedin-0.3.5.tgz"},"maintainers":[{"name":"sethmcl","email":"s@sethmcl.com"}],"directories":{}}},"readme":"","maintainers":[{"name":"sethmcl","email":"s@sethmcl.com"}],"time":{"modified":"2012-10-09T18:08:03.793Z","created":"2012-10-09T18:08:02.234Z","0.3.5":"2012-10-09T18:08:03.793Z"},"author":{"name":"Sam Gentle","email":"sam@samgentle.com"},"repository":{"type":"git","url":"https://github.com/sethmcl/phantomjs-node.git"},"_attachments":{}}



Посты чуть ниже также могут вас заинтересовать

1 комментарий:

  1. На днях решил, что пришло время для систематического изучения nodejs, пересмотрел видео... есть поправки

    1) Первая поправка отсюда https://docs.npmjs.com/cli/install

    npm install (in package directory, no arguments):

    Install the dependencies in the local node_modules folder.

    Именно так у меня и устанавливались темы Hexo - в каждой папке темы создавалась своя директория node_modules

    Илья в видео говорил, что, если в текущей папке нет node_modules, то Нода ищет папку в родительских директориях... То ли правила с тех пор изменились, то ли я неправильно запомнил...

    ОтветитьУдалить