congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo For Javascript
description
Code IndexAdd Tabnine to your IDE (free)

How to use
description
function

Best JavaScript code snippets using description(Showing top 15 results out of 702)

origin: Automattic/wp-calypso

const convertZone = ( zone ) => ( {
  description: unescape( zone.description ),
  id: zone.term_id,
  name: unescape( zone.name ),
  slug: zone.slug,
} )
origin: cube-js/cube.js

const generateModuleSection = (doclet) => `---
title: '${doclet.name}'
permalink: ${tagValue(doclet, 'permalink')}
category: ${tagValue(doclet, 'category')}
subCategory: Reference
menuOrder: ${tagValue(doclet, 'menuOrder')}
---

${doclet.description}\n\n`
origin: sx1989827/DOClever

grp.request.url.variable.forEach(function (obj) {
                  restParam.push({
                    name:obj.key,
                    remark:obj.description,
                    value:{
                      "status" : "",
                      "data" : obj.value?[obj.value]:[],
                      "type" : 0
                    }
                  })
                })
origin: gridsome/gridsome

program
  .command('explore')
  .description('explore GraphQL data')
  .option('-p, --port <port>', 'use specified port (default: 8080)')
  .option('-h, --host <host>', 'use specified host (default: 0.0.0.0)')
  .action(args => {
   wrapCommand(require('./lib/explore'))(context, args)
  })
origin: ks888/LambStatus

render() {
  return (
   <Item>
    <Title>{this.props.title}</Title>
    <Description>{this.props.description}</Description>
   </Item>
  )
 }
origin: withspectrum/spectrum

const dbCommunityToSearchCommunity = (community: DBCommunity): SearchCommunity => {
 let description = community.description;
 description = description && withoutStopWords(description);

 return {
  id: community.id,
  description,
  name: community.name,
  slug: community.slug,
  website: community.website ? community.website : null,
  objectID: community.id,
 };
}
origin: gridsome/gridsome

function addExtensionDirectives (schemaComposer, extensions, location) {
 for (const name in extensions) {
  const extension = extensions[name]

  const directive = new GraphQLDirective({
   args: normalizeArgs(schemaComposer, extension.args),
   description: extension.description,
   locations: [location],
   name
  })

  schemaComposer.addDirective(directive)
 }
}
origin: cube-js/cube.js

function generateTypeDefs(doclets) {
 if (!doclets.length) {
  return '';
 }

 const res = doclets.map((doclet) => [`## ${doclet.name}`, doclet.description, generateParams(doclet, 'properties'), '\n']
  .filter((d) => !!d)
  .join('\n'));

 return res.join('\n');
}
origin: cube-js/cube.js

const generateClassSection = (doclet) => {
 const header = `## ${doclet.name}\n`;
 let classSection = [header, (doclet.classdesc || doclet.description).trim(), '\n'].join('\n');
 if (doclet.params && doclet.params.length) {
  classSection = classSection.concat(generateFunctionDocletSection(doclet, true));
 }
 return classSection;
}
origin: gridsome/gridsome

program
  .command('build')
  .description('build site for production')
  .action(() => {
   wrapCommand(require('./lib/build'))(context, {})
  })
origin: strapi/strapi

// `$ strapi generate:api`
program
 .command('generate:api <id> [attributes...]')
 .option('-a, --api <api>', 'API name to generate the files in')
 .option('-p, --plugin <api>', 'Name of the local plugin')
 .option('-e, --extend <api>', 'Name of the plugin to extend')
 .option('-c, --connection <connection>', 'The name of the connection to use')
 .description('generate a basic API')
 .action((id, attributes, cliArguments) => {
  cliArguments.attributes = attributes;
  getLocalScript('generate')(id, cliArguments);
 });
origin: gridsome/gridsome

program
 .command('info')
 .description('output information about the local environment')
 .action(() => {
  const info = require('../lib/commands/info')
  return wrapCommand(info)()
 })
origin: strapi/strapi

// `$ strapi generate:model`
program
 .command('generate:model <id> [attributes...]')
 .option('-a, --api <api>', 'API name to generate a sub API')
 .option('-p, --plugin <api>', 'plugin name')
 .option('-c, --connection <connection>', 'The name of the connection to use')
 .description('generate a model for an API')
 .action((id, attributes, cliArguments) => {
  cliArguments.attributes = attributes;
  getLocalScript('generate')(id, cliArguments);
 });
origin: gridsome/gridsome

program
 .command('info')
 .description('output information about the local environment')
 .action(() => {
  const info = require('../lib/commands/info')
  return wrapCommand(info)()
 })
origin: gridsome/gridsome

program
  .command('develop')
  .description('start development server')
  .option('-p, --port <port>', 'use specified port (default: 8080)')
  .option('-h, --host <host>', 'use specified host (default: 0.0.0.0)')
  .action(args => {
   wrapCommand(require('./lib/develop'))(context, args)
  })
description

Popular in JavaScript

  • semver
    The semantic version parser used by npm.
  • ws
    Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js
  • express
    Fast, unopinionated, minimalist web framework
  • ms
    Tiny millisecond conversion utility
  • rimraf
    A deep deletion module for node (like `rm -rf`)
  • q
    A library for promises (CommonJS/Promises/A,B,D)
  • mime-types
    The ultimate javascript content-type utility.
  • through2
    A tiny wrapper around Node.js streams.Transform (Streams2/3) to avoid explicit subclassing noise
  • crypto
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJavascript Code Index
Get Tabnine for your IDE now