Comments (5)
just writing to confirm npm install hext works! thanks again!
from hext.
I will definitely try to fix the build for Node v10/v11 in the coming days.
any plans to put this up on an NPM registry?
Yes. It would be great if Hext was easily installable through npm, just like with pip.
I will look into it in the next couple of weeks.
Thank you for the kind words!
from hext.
The Hext language bindings for Node are now compatible with nodejs v8, v10 and v11:
cd hext/libhext/bindings/nodejs
npm install
npm run build
# run tests
./test/blackbox.js.sh ../../../../test/case/*hext
@samatt Thank you for the bug report - Please let me know if there are more problems.
I will leave this issue open for the npm package.
from hext.
omg that totally worked! thanks for your insanely fast response!
from hext.
Hext for Node is now installable through npm:
npm install hext
(Does not include the htmlext command-line utility).
Compatibility
- Node v8, v10, v11
- Linux (GLIBC ≥2.14, basically any distribution built after the year 2012)
- Mac OS X (10.11 El Capitan or later)
- x86_64 only
https://www.npmjs.com/package/hext
Note: The Hext npm package starts at version 10. Earlier versions refer to a deprecated package of a previous owner. Npm's support is awesome and moved the package to my account.
Testing
An easy way to test an npm install is to run the following:
mkdir /tmp/hext-test
cd /tmp/hext-test
npm install hext
node -e 'require("hext")' && echo "hext loaded successfully"
git clone https://github.com/thomastrapp/hext.git
cd hext/test
cp ../libhext/bindings/nodejs/htmlext.js .
HTMLEXT="node htmlext.js" ./blackbox.sh case/*hext
@samatt I am closing this issue, but feel free to comment or open a new issue.
from hext.
Related Issues (20)
- Fix clang warnings 'inconsistent-missing-destructor-override'
- Handling unknown elements? HOT 5
- Match unknown tags in a case-insensitive manner
- Add pip package for Python v3.8 HOT 1
- Help scraping entries from Facebook AI Blog HOT 3
- Help transforming result from fast.ai/topics HOT 1
- hext python module leaks memory HOT 2
- Add wheels for Python 3.9 HOT 3
- Consider providing Nim package HOT 1
- updated release HOT 5
- Use Github Actions for automated Hext releases for Python on Mac OS HOT 1
- Arbitrary Nested Hext Templates HOT 7
- Sync GitHub release version number with PyPI release version number HOT 2
- Node: Passing the wrong type to `rule.extract` causes a segmentation fault HOT 2
- Suggestion of 10000 for max_searches is too low HOT 1
- Add native releases for Mac OS on M1/M2 HOT 1
- TypeError: Wrong number or type of arguments for overloaded function 'Rule_extract' HOT 5
- Python: Improve error messages for argument type mismatch
- Matching any of multiple tags HOT 8
- Consider switching gumbo-parser upstream to codeberg.org/gumbo-parser/gumbo-parser HOT 3
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 hext.