• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
aspectrr

aspectrr

steel-perplexity-starter

Public
Like
steel-perplexity-starter
Home
Code
2
node_modules
28
src
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
node_modules
/
es-set-tostringtag
/
README.md
Code
/
node_modules
/
es-set-tostringtag
/
README.md
Search
11/18/2025
Viewing readonly version of main branch: v1467
View latest version
README.md

es-set-tostringtag Version Badge

github actions coverage License Downloads

npm badge

A helper to optimistically set Symbol.toStringTag, when possible.

Example

Most common usage:

Create val
var assert = require('assert'); var setToStringTag = require('es-set-tostringtag'); var obj = {}; assert.equal(Object.prototype.toString.call(obj), '[object Object]'); setToStringTag(obj, 'tagged!'); assert.equal(Object.prototype.toString.call(obj), '[object tagged!]');

Options

An optional options argument can be provided as the third argument. The available options are:

force

If the force option is set to true, the toStringTag will be set even if it is already set.

nonConfigurable

If the nonConfigurable option is set to true, the toStringTag will be defined as non-configurable when possible.

Tests

Simply clone the repo, npm install, and run npm test

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.