Git Product home page Git Product logo

Comments (3)

borisdiakur avatar borisdiakur commented on May 14, 2024

Hi Paul. There is currently no n_4 command. Not until lodash v5 is out. The n_3 command starts the REPL with lodash v3 included, which doesn’t have the toInteger method. Have you tried using the command n_ (need to ask because I do not see it above)?

Here is my output:

$ npm i -g n_
npm WARN deprecated [email protected]: ⚠️  WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
/usr/local/bin/n_ -> /usr/local/lib/node_modules/n_/bin/n_
/usr/local/bin/n_3 -> /usr/local/lib/node_modules/n_/bin/n_3

> [email protected] postinstall /usr/local/lib/node_modules/n_
> npm pack lodash@^3 && targz extract lodash-3.*.tgz extraneous/lodash3

lodash-3.10.1.tgz
+ [email protected]
added 26 packages in 11.852s
$ n_
n_ > _.toInteger('123')
123
n_ > 

from n_.

paul42 avatar paul42 commented on May 14, 2024

@borisdiakur thanks for taking the time to reply - I must've done something wrong previously or been in a bad state, I uninstalled, reinstalled and the command worked fine! user error. Sorry for opening the issue.

Thanks so much for your time and the great library!

from n_.

borisdiakur avatar borisdiakur commented on May 14, 2024

No problem, you’re welcome!

from n_.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.