Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@timetac/js-client-library
Advanced tools
TimeTac Client Library is a thin wrapper for client to make api request. For more information please visit our documentation.
Use the package manager yarn or npm to install TimeTac Client Library.
Using yarn:
yarn add @timetac/js-client-library
Using npm:
npm install @timetac/js-client-library
import Api from "@timetac/js-client-library"
//Only account name is required.
const environment = {
host: 'go.timetac.com',
account: <ACCOUNT_NAME>,
version: '3'
}
const authCredentials = {
grant_type: 'password',
client_id: <CLIENT_ID>,
client_secret: <CLIENT_SECRET>,
username: <USER_NAME>,
password: <PASSWORD>
}
const api = new Api(environment);
async() => {
await api.authentication.login(authCredentials);
api.timeTrackings.read()
.then(timetrackings => {
console.log(timetrackings)
});
api.users.getMe().then(meData => {
console.log(meData);
});
api.absenceDays.read(
new RequestParams<AbsenceDay>()
.eq('user_id', '1')
.gteq('date', '2020-01-01')
);
api.absenceDay.read({
user_id: '1',
date: '2020-01-01',
_op__date: 'gteq'
})
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
FAQs
TimeTac API JS client library
The npm package @timetac/js-client-library receives a total of 1,648 weekly downloads. As such, @timetac/js-client-library popularity was classified as popular.
We found that @timetac/js-client-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.