Paths for legacy IPython
npm install ipython-pathsFetches expected IPython paths for you, both system installed and user installed
kernels.
Only works on IPython 3.x. For 4.x, you'll need jupyter-paths.
For anything earlier, send a PR.
``javascript`
> require('.').kernelDirsListing()
[ '/usr/share/jupyter/kernels',
'/usr/local/share/jupyter/kernels',
'/Users/rgbkrk/.ipython/kernels' ]
`javascript``
> require('.').kernelDirs().then((dirs) => console.log(dirs))
Promise {
> [ '/usr/local/share/jupyter/kernels' ]