{"id":17635969,"url":"https://github.com/ddfreiling/nativescript-appsettings-async","last_synced_at":"2025-06-17T06:04:35.961Z","repository":{"id":145836798,"uuid":"102485720","full_name":"ddfreiling/nativescript-appsettings-async","owner":"ddfreiling","description":"Async version of Nativescript's Application-Settings module","archived":false,"fork":false,"pushed_at":"2018-01-26T11:18:48.000Z","size":2039,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T06:04:32.938Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ddfreiling.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-09-05T13:39:27.000Z","updated_at":"2018-01-26T18:51:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"f23a7ee5-5c7b-48e4-9527-fa474a6c1d6c","html_url":"https://github.com/ddfreiling/nativescript-appsettings-async","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ddfreiling/nativescript-appsettings-async","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Fnativescript-appsettings-async","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Fnativescript-appsettings-async/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Fnativescript-appsettings-async/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Fnativescript-appsettings-async/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddfreiling","download_url":"https://codeload.github.com/ddfreiling/nativescript-appsettings-async/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddfreiling%2Fnativescript-appsettings-async/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260301991,"owners_count":22988718,"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":[],"created_at":"2024-10-23T02:25:01.069Z","updated_at":"2025-06-17T06:04:35.931Z","avatar_url":"https://github.com/ddfreiling.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecated\n\nThis approach is now integrated with tns-core-modules \u003e= 3.4.0, making this plugin deprecated.\n\n# AppSettings Async\n\nnativescript-appsettings-async does everything that tns-core-modules/application-settings does, but it does so without block the UI thread whenever writing a new value.\n\nThe way Nativescript by default synchronously flushes all settings to disk whenever a single value is changed, seemed very detrimental to a smooth UI experience, so I implemented this plugin to fix that. This change will primarily be felt when writing many or very large string to application-settings.\n\n## Installation\n\n```\ntns plugin add @nota/nativescript-appsettings-async\n```\n\n## Usage\n\n```javascript\nimport { AppSettingsAsync as appSettingsAsync } from '@nota/nativescript-appsettings-async';\n// Same interface as default application-settings, but Async setters\nappSettingsAsync.setString('my_key', 'my_value');\n// Explicitly flush settings to persistant storage.\nappSettingsAsync.flush();\n```\n\n## TODO\n- Load app-settings on a background thread\n\n## License\n\nApache License Version 2.0, January 2004\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddfreiling%2Fnativescript-appsettings-async","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddfreiling%2Fnativescript-appsettings-async","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddfreiling%2Fnativescript-appsettings-async/lists"}