javascript-algorithms icon indicating copy to clipboard operation
javascript-algorithms copied to clipboard

How can I use this lib with npm or yarn?

Open ahaoboy opened this issue 5 years ago • 3 comments

npm link https://www.npmjs.com/package/javascript-algorithms-and-data-structures

I add this lib with yarn

yarn add javascript-algorithms-and-data-structures

But I can't use import or require this lib

o(╥﹏╥)o

ahaoboy avatar Oct 07 '20 13:10 ahaoboy

@ahaoboy What did you want to import this lib for? The documentation states clearly:

Note that this project is meant to be used for learning and researching purposes only and it is not meant to be used for production.

So I don't think there is a point in making this package importable/requirable since it's not supposed to be used as a project dependency. Just clone the repository and have some fun :)

ken-do avatar Oct 22 '20 07:10 ken-do

@ahaoboy What did you want to import this lib for? The documentation states clearly:

Note that this project is meant to be used for learning and researching purposes only and it is not meant to be used for production.

So I don't think there is a point in making this package importable/requirable since it's not supposed to be used as a project dependency. Just clone the repository and have some fun :)

Just exactly what I wanted to say

DeeStarks avatar Dec 01 '20 23:12 DeeStarks

npm 链接 https://www.npmjs.com/package/javascript-algorithms-and-data-structures

我用纱线添加这个库

yarn add javascript-algorithms-and-data-structures

但我不能使用导入或需要这个库

o(╥﹏╥)o

This library may help you. https://github.com/ZLY201/js-sdsl

ZLY201 avatar Jul 31 '22 08:07 ZLY201