
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
obsidian-http-request
Advanced tools
Helper library to download assets (ajax) directly or through a proxy
Obsidian HTTP Request is a helper library that allows you to download assets and make HTTP requests either directly or through a proxy (to avoid CORS issues, for example when using images from an other domain with a canvas).
To install Obsidian HTTP Request run the following command:
npm install obsidian-http-request
You can find the library documentation at the following address:
const httpRequest = require("obsidian-http-request");
httpRequest.getText("http://example.com/hello.txt")
.then(function(result) {
console.log(result);
})
.catch(function(error) {
console.error(error);
});
If you have any question, you can:
If you found a bug, please open an issue on Github with as much information as possible.
Please consider filing a bug before starting to work on a new feature. This will allow us to discuss the best way to do it. This is of course not necessary if you just want to fix some typo or small errors in the code.
To check coding style, run the follwoing command:
npx grunt jshint
Tu run tests, use the following command:
npx grunt test
[NEXT] (changes on master that have not been released yet):
v1.6.0:
v1.5.2:
v1.5.1:
v1.5.0:
v1.4.0:
v1.3.2:
v1.3.1:
v1.3.0:
v1.2.0:
request
and requestProxy
method (to be able to use different methods than GET, with more options) #6v1.1.4:
FAQs
Helper library to download assets (ajax) directly or through a proxy
The npm package obsidian-http-request receives a total of 380 weekly downloads. As such, obsidian-http-request popularity was classified as not popular.
We found that obsidian-http-request demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.