
Security News
TC39 Advances 11 Proposals for Math Precision, Binary APIs, and More
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
@devmehq/sdk-js
Advanced tools
DEV.ME SDK for JavaScript & TypeScript for Server & Browser, Compatible with Node.js & React & Vue.js & Angular
DEV.ME SDK for JavaScript & TypeScript
Works with Node.js and in The Browser, Compatible with Node.js & React.js & Vue.js & Angular.js
Signup Here and Get Your Free API Key
Install the module through YARN:
yarn add @devmehq/sdk-js
Or NPM
npm insgall @devmehq/sdk-js
import { CurrencyApi, Configuration } from '@devmehq/sdk-js';
const config = new Configuration({ apiKey: 'demo-key' });
const currencyApi = new CurrencyApi(config);
const { data } = await currencyApi.v1ConvertCurrency({
amount: 10,
from: 'USD',
to: 'EUR',
});
// {
// convertedAmount: 8.819,
// convertedText: '10 USD equal to 8.819 EUR',
// exchangeRate: 0.8819,
// from: 'USD',
// originalAmount: 10,
// rateTime: '2022-01-20T14:49:28.046Z',
// to: 'EUR'
// }
import { IPApi, Configuration } from '@devmehq/sdk-js';
const config = new Configuration({ apiKey: 'demo-key' });
const ipApi = new IPApi(config);
const { data } = await ipApi.v1GetIpDetails({ ip: '52.45.23.11' });
// {
// asn: 14618,
// aso: 'AMAZON-AES',
// city: {
// accuracyRadius: 1000,
// latitude: 39.0469,
// longitude: -77.4903,
// metroCode: 511,
// name: 'Ashburn',
// timeZone: 'America/New_York',
// },
// countryCode: 'US',
// ip: '52.45.23.11',
// registeredCountryCode: 'US',
// }
yarn test
If you need help please drop us a message, we would be glad to help @ Contact us
Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!
FAQs
DEV.ME SDK for JavaScript & TypeScript for Server & Browser, Compatible with Node.js & React & Vue.js & Angular
The npm package @devmehq/sdk-js receives a total of 19 weekly downloads. As such, @devmehq/sdk-js popularity was classified as not popular.
We found that @devmehq/sdk-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.