Get the current Netlify site API ID provided by the NETLIFY_SITE_ID
environment variable or the value of the netlify.siteid
git configuration
option.
import { netlifySiteId } from '@zendeskgarden/scripts';
(async () => {
const siteId = await netlifySiteId();
console.log(siteId);
})();
garden netlify-site-id