Comments (7)
hey @cathartic, i just tested this, and it seems to work for me:
npm install mozilla/scanjs
can you try again maybe, and this time possibly with the --verbose
flag (warning, long console spew)?
the only thing that changed recently is that we removed instruction on how to install scanjs using npm from README. that's because we are in a bit of a flux currently, re-organizing how this stuff should work/be used in #158, so for more info on that, check back in a week or two..
from scanjs.
@cathartic: Thanks for raising this. It is indeed striking: I do not know how issued the "unpublish" here.
But as @zombie said, we will change the repo structure to move the web app as well as the nodejs bits out of here. That way, scanjs will be a library people can easily consume in their project. After this work has concluded, we will likely republish on npm.
from scanjs.
Hi, I noticed that there is a module on npm for the library, is that the official one? if not, is it reasonable to expect an official one in the short term?
from scanjs.
I don’t know who slalom digital but is not related to us afaik. To be honest, I hadn’t really considered making an npm module since the tool was intended to be run in the browser, but we could do I suppose.
@freddyb thoughts?
On 12 Mar 2015, at 6:18 am, Héctor Quartino [email protected] wrote:
Hi, I noticed that there is a module on npm for the library, is that the official one? if not, is it reasonable to expect an official one in the short term?
—
Reply to this email directly or view it on GitHub.
from scanjs.
If the module were to be available on npm, it would make it easier to integrate it into build tools, for instance one could make something similar as gulp-jshint.
from scanjs.
Well the scanning bits could surely run in nodejs, without all the browser stuff.
I'll try to get #158 done soonish and will submit an official package afterwards.
(Sorry for the late response, was out of office last week)
from scanjs.
Thank you Frederick, no problem!
from scanjs.
Related Issues (20)
- Bug: "new foo('arg')" matches "new foo()" which results in false positives HOT 1
- Create rule with data type of argument HOT 6
- False positives for literal assignments HOT 2
- Need a better structure for JSON reports in the cmdline version. HOT 2
- JS parsing and AST generation should be easier to switch out. HOT 4
- Support for longer rules (e.g. foo.bar.baz) HOT 1
- split scanjs into separate repos for nodejs, web and just the scanning HOT 3
- Investigate and complete automated deployment gh-page updates through Travis-CI HOT 1
- experiments tab is broken
- show parse errors on experiment tab
- "use strict"; mode wherever possible
- [false-positive] input-manage permission rule HOT 5
- Rule Parser Rewrite (Redux) HOT 1
- Incorrect line number reported in output json file HOT 2
- [Feature Request] Export results to HTML
- checklist: add comment/hide/delete button in output view
- Sources Rules a='b'; HOT 2
- Rule for values inside object? HOT 3
- Wiki changes
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scanjs.