
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Unofficial JavaScript implementation of the Takeaway.com API.
yarn add takeaway
import {inspect} from 'util';
import {Takeaway, TakeawayConfig} from 'takeaway';
(async () => {
try {
// Initialize configuration
// See `src/config.js` for defaults
const config = new TakeawayConfig({
language: 'nl',
url: 'https://nl.citymeal.com/android/android.php'
});
// Initialize Takeaway API
const takeaway = new Takeaway(config);
// Fetch country
const country = await takeaway.getCountryById('NL');
// Login to the country specific site
const user = await country.login('test@exampl.com', 'testpassword123');
console.log(inspect(user, false, null));
// Request restaurants list for area
const restaurants = await country.getRestaurants('7500', '52.0000000', '6.0000000');
console.log(inspect(restaurants, false, null));
} catch (err) {
console.error(err);
}
})();
# Clone Git repository
git clone git@github.com:TakeawayAPI/node-takeaway.git
cd node-takeaway
# Install dependencies
yarn
FAQs
Unofficial JavaScript implementation of the Takeaway.com API.
We found that takeaway demonstrated a not healthy version release cadence and project activity because the last version was released 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.