{"id":16560656,"url":"https://github.com/mathieu2301/notion-logs","last_synced_at":"2026-04-19T11:32:01.125Z","repository":{"id":92266870,"uuid":"367221200","full_name":"Mathieu2301/Notion-Logs","owner":"Mathieu2301","description":"Notion API for application logging","archived":false,"fork":false,"pushed_at":"2021-09-26T22:30:36.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-16T11:26:24.342Z","etag":null,"topics":["cloud-logging","console","logging","metrics","notion"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mathieu2301.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-14T01:50:20.000Z","updated_at":"2023-10-16T18:50:22.000Z","dependencies_parsed_at":"2023-04-24T23:17:25.176Z","dependency_job_id":null,"html_url":"https://github.com/Mathieu2301/Notion-Logs","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"3a5482045c88428b813b28bc4afb4020dad907ad"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FNotion-Logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FNotion-Logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FNotion-Logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mathieu2301%2FNotion-Logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mathieu2301","download_url":"https://codeload.github.com/Mathieu2301/Notion-Logs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241956556,"owners_count":20048654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-logging","console","logging","metrics","notion"],"created_at":"2024-10-11T20:29:42.140Z","updated_at":"2026-04-19T11:32:01.020Z","avatar_url":"https://github.com/Mathieu2301.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notion Logs\nNotion API for application logging\n\n## Requirements\n\nYou need a Notion bot and a Notion database with following properties :\n - \"Type\": select (Log | Info | Success | Warning | Error)\n - \"Tags\": multi-select (as you want)\n - \"Title\": title / text\n\nThis API allows you to add lines to this database.\n\n___\n## Installation\n\n```\nnpm i notion-logs\n```\n\n## Example (test.js)\n\n```javascript\n// Init notion-logs\nconst notionLogs = require('notion-logs')({\n  secret: process.env.NOTION_SECRET, // Notion bot secret\n  database: process.env.NOTION_DATABASE, // Notion database ID\n});\n\n// Example of log\nnotionLogs('LOG', [], 'Test', {\n  Key1: {\n    key1: {\n      subKey1: 'Sub value 1',\n      subKey2: 'Sub value 2',\n    },\n    key2: 'Value 1',\n  },\n  Key2: 'Root value 1',\n});\n\n```\n\n___\n## Problems\n If you have errors in console or unwanted behavior, please create an issue [here](https://github.com/Mathieu2301/Notion-Logs/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieu2301%2Fnotion-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieu2301%2Fnotion-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieu2301%2Fnotion-logs/lists"}